瀏覽代碼

fix(VideoLayout): JS error if updateLargeVideo is called too early.

j8
hristoterezov 6 年之前
父節點
當前提交
bd449be20d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/UI/videolayout/VideoLayout.js

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

@@ -954,7 +954,7 @@ const VideoLayout = {
954 954
             }
955 955
         }
956 956
 
957
-        if (!isOnLarge || forceUpdate) {
957
+        if ((!isOnLarge || forceUpdate) && smallVideo) {
958 958
             const videoType = this.getRemoteVideoType(id);
959 959
 
960 960
             // FIXME video type is not the same thing as container type

Loading…
取消
儲存