Fixes and issue where: if we receive dominant speaker event just before the video start playing, this can override already pinned video.
This commit is contained in:
parent
5112041e15
commit
d48ef06ddb
|
@ -384,7 +384,7 @@ var VideoLayout = {
|
|||
!currentDominantSpeaker &&
|
||||
this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
|
||||
pinnedId === resourceJid ||
|
||||
(resourceJid &&
|
||||
(!pinnedId && resourceJid &&
|
||||
currentDominantSpeaker === resourceJid)) {
|
||||
this.updateLargeVideo(resourceJid, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue