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:
2025-12-10 19:51:43 +01:00
parent b60799a712
commit b4be5e9060
2 changed files with 4 additions and 0 deletions

View File

@@ -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;
}>>; }>>;
}> { }> {

View File

@@ -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
}>> }>>
}> { }> {