forked from mystiq/hydrogen-web
fix c/p error mixing up audio and video muting
This commit is contained in:
parent
b46ec8bac4
commit
9ab75e8ed4
1 changed files with 1 additions and 1 deletions
|
@ -952,7 +952,7 @@ export class PeerCall implements IDisposable {
|
||||||
}
|
}
|
||||||
const videoReceiver = this.findReceiverForStream(TrackKind.Video, stream.id);
|
const videoReceiver = this.findReceiverForStream(TrackKind.Video, stream.id);
|
||||||
if (videoReceiver) {
|
if (videoReceiver) {
|
||||||
videoReceiver.track.enabled = !metaData.audio_muted;
|
videoReceiver.track.enabled = !metaData.video_muted;
|
||||||
}
|
}
|
||||||
this._remoteMuteSettings = new MuteSettings(
|
this._remoteMuteSettings = new MuteSettings(
|
||||||
metaData.audio_muted || !audioReceiver?.track,
|
metaData.audio_muted || !audioReceiver?.track,
|
||||||
|
|
Loading…
Reference in a new issue