fix(VideoLayout): JS error if updateLargeVideo is called too early.
This commit is contained in:
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
|
||||
|
|
Loading…
Reference in New Issue