Fix initial state of user interaction mute
This commit is contained in:
parent
c2f46a5cfe
commit
d95b2b034b
|
@ -98,6 +98,8 @@ export default class SharedVideoManager {
|
||||||
// the owner of the video
|
// the owner of the video
|
||||||
this.from = id;
|
this.from = id;
|
||||||
|
|
||||||
|
this.mutedWithUserInteraction = APP.conference.isLocalAudioMuted();
|
||||||
|
|
||||||
//listen for local audio mute events
|
//listen for local audio mute events
|
||||||
this.localAudioMutedListener = this.onLocalAudioMuted.bind(this);
|
this.localAudioMutedListener = this.onLocalAudioMuted.bind(this);
|
||||||
this.emitter.on(UIEvents.AUDIO_MUTED, this.localAudioMutedListener);
|
this.emitter.on(UIEvents.AUDIO_MUTED, this.localAudioMutedListener);
|
||||||
|
@ -447,7 +449,6 @@ export default class SharedVideoManager {
|
||||||
this.smartPlayerMute(true, false);
|
this.smartPlayerMute(true, false);
|
||||||
// Check if we need to update other participants
|
// Check if we need to update other participants
|
||||||
this.fireSharedVideoEvent();
|
this.fireSharedVideoEvent();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue