From b133f58f7a3b7fa401a7294a0928a8800a75fa40 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:54:47 +0200 Subject: [PATCH] don't throw here for now, although it is probably a sign of why the tracks disappear --- src/matrix/calls/PeerCall.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/matrix/calls/PeerCall.ts b/src/matrix/calls/PeerCall.ts index 3dbb74fc..7338cf2c 100644 --- a/src/matrix/calls/PeerCall.ts +++ b/src/matrix/calls/PeerCall.ts @@ -400,12 +400,12 @@ export class PeerCall implements IDisposable { // According to previous comments in this file, firefox at some point did not // add streams until media started arriving on them. Testing latest firefox // (81 at time of writing), this is no longer a problem, so let's do it the correct way. - if (this.peerConnection.remoteTracks.length === 0) { - await log.wrap(`Call no remote stream or no tracks after setting remote description!`, async log => { - return this.terminate(CallParty.Local, CallErrorCode.SetRemoteDescription, log); - }); - return; - } + // if (this.peerConnection.remoteTracks.length === 0) { + // await log.wrap(`Call no remote stream or no tracks after setting remote description!`, async log => { + // return this.terminate(CallParty.Local, CallErrorCode.SetRemoteDescription, log); + // }); + // return; + // } this.setState(CallState.Ringing, log);