瀏覽代碼

fix(large-video): switch to dominant speaker with no video

On DOMINANT_SPEAKER_CHANGED events, switch to the new
dominant speaker regardless of if the speaker has video;
it's okay to show the speaker's avatar.
master
Leonard Kim 8 年之前
父節點
當前提交
c2f5afe9c2
共有 1 個檔案被更改,包括 0 行新增4 行删除
  1. 0
    4
      modules/UI/videolayout/VideoLayout.js

+ 0
- 4
modules/UI/videolayout/VideoLayout.js 查看文件

721
 
721
 
722
         // Local video will not have container found, but that's ok
722
         // Local video will not have container found, but that's ok
723
         // since we don't want to switch to local video.
723
         // since we don't want to switch to local video.
724
-        // Update the large video if the video source is already available,
725
-        // otherwise wait for the "videoactive.jingle" event.
726
-        // FIXME: there is no "videoactive.jingle" event.
727
         if (!interfaceConfig.filmStripOnly && !this.getPinnedId()
724
         if (!interfaceConfig.filmStripOnly && !this.getPinnedId()
728
-            && remoteVideo.hasVideoStarted()
729
             && !this.getCurrentlyOnLargeContainer().stayOnStage()) {
725
             && !this.getCurrentlyOnLargeContainer().stayOnStage()) {
730
             this.updateLargeVideo(id);
726
             this.updateLargeVideo(id);
731
         }
727
         }

Loading…
取消
儲存