fix(VideoLayout): JS error if updateLargeVideo is called too early.
This commit is contained in:
committed by
Hristo Terezov
parent
9331b0870b
commit
bd449be20d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user