mirror of
https://github.com/xtr-dev/rondevu-client.git
synced 2025-12-11 19:33:25 +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<{
|
iceCandidates: Record<string, Array<{
|
||||||
candidate: any;
|
candidate: any;
|
||||||
|
role: 'offerer' | 'answerer';
|
||||||
|
peerId: string;
|
||||||
createdAt: number;
|
createdAt: number;
|
||||||
}>>;
|
}>>;
|
||||||
}> {
|
}> {
|
||||||
|
|||||||
@@ -310,6 +310,8 @@ export class Rondevu {
|
|||||||
}>
|
}>
|
||||||
iceCandidates: Record<string, Array<{
|
iceCandidates: Record<string, Array<{
|
||||||
candidate: any
|
candidate: any
|
||||||
|
role: 'offerer' | 'answerer'
|
||||||
|
peerId: string
|
||||||
createdAt: number
|
createdAt: number
|
||||||
}>>
|
}>>
|
||||||
}> {
|
}> {
|
||||||
|
|||||||
Reference in New Issue
Block a user