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.
This commit is contained in:
paweldomas 2016-09-24 14:53:32 -05:00
parent 6e0ba1de33
commit 7585413e7d
1 changed files with 3 additions and 1 deletions

View File

@ -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