Skip to content

Commit 9810636

Browse files
committed
fix(track) Updates the mute state on remote track when ssrc gets remapped
1 parent 44b0204 commit 9810636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/xmpp/JingleSessionPC.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ export default class JingleSessionPC extends JingleSession {
20422042
// been received before the updated source map is received on the bridge channel.
20432043
const { muted, videoType } = this._signalingLayer.getPeerMediaInfo(owner, mediaType, source);
20442044

2045-
muted && this.peerconnection._sourceMutedChanged(source, muted);
2045+
typeof muted !== 'undefined' && this.peerconnection._sourceMutedChanged(source, muted);
20462046
this.room.eventEmitter.emit(JitsiTrackEvents.TRACK_OWNER_SET, track, owner, source, videoType);
20472047
}
20482048
}

0 commit comments

Comments
 (0)