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

Loading…
Cancel
Save