mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 04:27:40 +01:00
fix c/p error mixing up audio and video muting
This commit is contained in:
parent
b46ec8bac4
commit
9ab75e8ed4
@ -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…
x
Reference in New Issue
Block a user