瀏覽代碼

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,9 +410,7 @@ const VideoLayout = {
410 410
 
411 411
             // Enable the currently set dominant speaker.
412 412
             if (currentDominantSpeaker) {
413
-                if (smallVideo && smallVideo.hasVideo()) {
414
-                    this.updateLargeVideo(currentDominantSpeaker);
415
-                }
413
+                this.updateLargeVideo(currentDominantSpeaker);
416 414
             } else {
417 415
                 // if there is no currentDominantSpeaker, it can also be
418 416
                 // that local participant is the dominant speaker

Loading…
取消
儲存