Browse Source

Fix initial state of user interaction mute

master
yanas 9 years ago
parent
commit
d95b2b034b
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/UI/shared_video/SharedVideo.js

+ 2
- 1
modules/UI/shared_video/SharedVideo.js View File

@@ -98,6 +98,8 @@ export default class SharedVideoManager {
98 98
         // the owner of the video
99 99
         this.from = id;
100 100
 
101
+        this.mutedWithUserInteraction = APP.conference.isLocalAudioMuted();
102
+
101 103
         //listen for local audio mute events
102 104
         this.localAudioMutedListener = this.onLocalAudioMuted.bind(this);
103 105
         this.emitter.on(UIEvents.AUDIO_MUTED, this.localAudioMutedListener);
@@ -447,7 +449,6 @@ export default class SharedVideoManager {
447 449
             this.smartPlayerMute(true, false);
448 450
             // Check if we need to update other participants
449 451
             this.fireSharedVideoEvent();
450
-
451 452
         }
452 453
     }
453 454
 

Loading…
Cancel
Save