From d95b2b034b078c9eb7bf38303a5bc09cf02e206a Mon Sep 17 00:00:00 2001 From: yanas Date: Thu, 28 Apr 2016 17:42:52 -0500 Subject: [PATCH] Fix initial state of user interaction mute --- modules/UI/shared_video/SharedVideo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/UI/shared_video/SharedVideo.js b/modules/UI/shared_video/SharedVideo.js index 631735d9d..ad4984ecc 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(); - } }