浏览代码

fix(VideoLayout): from avatar to video transition

When user reconnected and the avatar is displayed we need to perform
full large video update in order to transition correctly.
j8
paweldomas 8 年前
父节点
当前提交
7585413e7d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      modules/UI/videolayout/VideoLayout.js

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

653
         // Show/hide warning on the large video
653
         // Show/hide warning on the large video
654
         if (this.isCurrentlyOnLarge(id)) {
654
         if (this.isCurrentlyOnLarge(id)) {
655
             if (largeVideo) {
655
             if (largeVideo) {
656
-                largeVideo.updateParticipantConnStatusIndication(id, isActive);
656
+                // We have to trigger full large video update to transition from
657
+                // avatar to video on connectivity restored.
658
+                this.updateLargeVideo(id, true /* force update */);
657
             }
659
             }
658
         }
660
         }
659
         // Show/hide warning on the thumbnail
661
         // Show/hide warning on the thumbnail

正在加载...
取消
保存