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:
damencho 2016-03-24 17:10:29 -05:00
parent 5112041e15
commit d48ef06ddb
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ var VideoLayout = {
!currentDominantSpeaker &&
this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
pinnedId === resourceJid ||
(resourceJid &&
(!pinnedId && resourceJid &&
currentDominantSpeaker === resourceJid)) {
this.updateLargeVideo(resourceJid, true);
}