From 7585413e7d0a9f8dcd106df12d1602a8456ef6b6 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Sat, 24 Sep 2016 14:53:32 -0500 Subject: [PATCH] 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. --- modules/UI/videolayout/VideoLayout.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index 4ff764934..007e4fa47 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -653,7 +653,9 @@ var VideoLayout = { // Show/hide warning on the large video if (this.isCurrentlyOnLarge(id)) { if (largeVideo) { - largeVideo.updateParticipantConnStatusIndication(id, isActive); + // We have to trigger full large video update to transition from + // avatar to video on connectivity restored. + this.updateLargeVideo(id, true /* force update */); } } // Show/hide warning on the thumbnail