浏览代码

fix(large-video): return to dominant speaker without video

Always switch to the dominant speaker after unpinning
instead of conditionally checking if the current dominant
speaker has video.
master
Leonard Kim 8 年前
父节点
当前提交
fcb3ca836f
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      modules/UI/videolayout/VideoLayout.js

+ 1
- 3
modules/UI/videolayout/VideoLayout.js 查看文件

410
 
410
 
411
             // Enable the currently set dominant speaker.
411
             // Enable the currently set dominant speaker.
412
             if (currentDominantSpeaker) {
412
             if (currentDominantSpeaker) {
413
-                if (smallVideo && smallVideo.hasVideo()) {
414
-                    this.updateLargeVideo(currentDominantSpeaker);
415
-                }
413
+                this.updateLargeVideo(currentDominantSpeaker);
416
             } else {
414
             } else {
417
                 // if there is no currentDominantSpeaker, it can also be
415
                 // if there is no currentDominantSpeaker, it can also be
418
                 // that local participant is the dominant speaker
416
                 // that local participant is the dominant speaker

正在加载...
取消
保存