fix(VideoLayout): JS error if updateLargeVideo is called too early.

This commit is contained in:
hristoterezov
2018-07-09 19:04:54 -05:00
committed by Hristo Terezov
parent 9331b0870b
commit bd449be20d

View File

@@ -954,7 +954,7 @@ const VideoLayout = {
}
}
if (!isOnLarge || forceUpdate) {
if ((!isOnLarge || forceUpdate) && smallVideo) {
const videoType = this.getRemoteVideoType(id);
// FIXME video type is not the same thing as container type