diff --git a/src/webrtc/call.ts b/src/webrtc/call.ts index 1fb6a4c2293..c3967dba3ca 100644 --- a/src/webrtc/call.ts +++ b/src/webrtc/call.ts @@ -647,17 +647,6 @@ export class MatrixCall extends TypedEventEmitter t.receiver.track == track); - this.transceivers.set(getTransceiverKey(purpose, track.kind), transceiver); - } - } - this.emit(CallEvent.FeedsChanged, this.feeds); logger.info( @@ -700,11 +689,6 @@ export class MatrixCall extends TypedEventEmitter t.receiver.track == track); - this.transceivers.set(getTransceiverKey(purpose, track.kind), transceiver); - } - this.emit(CallEvent.FeedsChanged, this.feeds); logger.info(`Call ${this.callId} pushed remote stream (id="${stream.id}", active="${stream.active}")`); @@ -773,16 +757,23 @@ export class MatrixCall extends TypedEventEmitter t.sender === newSender)); } } } @@ -1313,10 +1304,8 @@ export class MatrixCall extends TypedEventEmitter t.sender === newSender)); } } }