Fix initial state of user interaction mute

This commit is contained in:
yanas 2016-04-28 17:42:52 -05:00
parent c2f46a5cfe
commit d95b2b034b
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}
}