mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-10 19:03:24 +00:00
Add role and peerId to pollOffers ICE candidate response types
- ICE candidates now include role ('offerer' | 'answerer')
- ICE candidates now include peerId for matching
- Enables clients to filter candidates by role
- Supports bidirectional ICE exchange
This commit is contained in:
@@ -284,6 +284,8 @@ export class RondevuAPI {
|
||||
}>;
|
||||
iceCandidates: Record<string, Array<{
|
||||
candidate: any;
|
||||
role: 'offerer' | 'answerer';
|
||||
peerId: string;
|
||||
createdAt: number;
|
||||
}>>;
|
||||
}> {
|
||||
|
||||
@@ -310,6 +310,8 @@ export class Rondevu {
|
||||
}>
|
||||
iceCandidates: Record<string, Array<{
|
||||
candidate: any
|
||||
role: 'offerer' | 'answerer'
|
||||
peerId: string
|
||||
createdAt: number
|
||||
}>>
|
||||
}> {
|
||||
|
||||
Reference in New Issue
Block a user