Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fix initial state of user interaction mute

yanasd95b2b034b07
diff --git a/modules/UI/shared_video/SharedVideo.js b/modules/UI/shared_video/SharedVideo.js
index 631735d9d3..ad4984ecc9 100644
--- a/modules/UI/shared_video/SharedVideo.js
+++ b/modules/UI/shared_video/SharedVideo.js
@@ -98,6 +98,8 @@ export default class SharedVideoManager {
// the owner of the video
this.from = id;
+ this.mutedWithUserInteraction = APP.conference.isLocalAudioMuted();
+
//listen for local audio mute events
this.localAudioMutedListener = this.onLocalAudioMuted.bind(this);
this.emitter.on(UIEvents.AUDIO_MUTED, this.localAudioMutedListener);
@@ -447,7 +449,6 @@ export default class SharedVideoManager {
this.smartPlayerMute(true, false);
// Check if we need to update other participants
this.fireSharedVideoEvent();
-
}
}