Преглед изворни кода

Fixes and issue where: if we receive dominant speaker event just before the video start playing, this can override already pinned video.

j8
damencho пре 9 година
родитељ
комит
d48ef06ddb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      modules/UI/videolayout/VideoLayout.js

+ 1
- 1
modules/UI/videolayout/VideoLayout.js Прегледај датотеку

384
             !currentDominantSpeaker &&
384
             !currentDominantSpeaker &&
385
             this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
385
             this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
386
             pinnedId === resourceJid ||
386
             pinnedId === resourceJid ||
387
-            (resourceJid &&
387
+            (!pinnedId && resourceJid &&
388
                 currentDominantSpeaker === resourceJid)) {
388
                 currentDominantSpeaker === resourceJid)) {
389
             this.updateLargeVideo(resourceJid, true);
389
             this.updateLargeVideo(resourceJid, true);
390
         }
390
         }

Loading…
Откажи
Сачувај