Procházet zdrojové kódy

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 před 8 roky
rodič
revize
7585413e7d
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3
    1
      modules/UI/videolayout/VideoLayout.js

+ 3
- 1
modules/UI/videolayout/VideoLayout.js Zobrazit soubor

@@ -653,7 +653,9 @@ var VideoLayout = {
653 653
         // Show/hide warning on the large video
654 654
         if (this.isCurrentlyOnLarge(id)) {
655 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 661
         // Show/hide warning on the thumbnail

Načítá se…
Zrušit
Uložit