You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-23 17:02:25 +03:00
Improve ICE candidate batching
Hopefully send fewer ICE candidate events by obeying the batching guidelines in MSC2476.
This commit is contained in:
@@ -252,6 +252,8 @@ export class CallEventHandler {
|
||||
}
|
||||
}
|
||||
} else if (event.getType() === EventType.CallSelectAnswer) {
|
||||
if (!call) return;
|
||||
|
||||
if (event.getContent().party_id === call.ourPartyId) {
|
||||
// Ignore remote echo
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user