You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-07 23:02:56 +03:00
Do an ICE Restart if WebRTC become disconnected (#3341)
* Do an ice restart if ICE disconnected - Waite two seconds after disconnected - Remove check for finish ICE gathering and try to add each local candidate. Avoid race in multible ICE gathering * Add tests for failed iceConnectionState * suppress type check in unit test * fix pr issues
This commit is contained in:
@@ -239,6 +239,8 @@ export class MockRTCPeerConnection {
|
||||
public triggerIncomingDataChannel(): void {
|
||||
this.onDataChannelListener?.({ channel: {} } as RTCDataChannelEvent);
|
||||
}
|
||||
|
||||
public restartIce(): void {}
|
||||
}
|
||||
|
||||
export class MockRTCRtpSender {
|
||||
|
Reference in New Issue
Block a user