浏览代码

Fix initial state of user interaction mute

master
yanas 9 年前
父节点
当前提交
d95b2b034b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      modules/UI/shared_video/SharedVideo.js

+ 2
- 1
modules/UI/shared_video/SharedVideo.js 查看文件

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
 

正在加载...
取消
保存