소스 검색

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

master
hristoterezov 7 년 전
부모
커밋
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…
취소
저장