|
@@ -637,7 +637,7 @@ const VideoLayout = {
|
637
|
637
|
*/
|
638
|
638
|
onVideoMute(id, value) {
|
639
|
639
|
if (APP.conference.isLocalId(id)) {
|
640
|
|
- localVideoThumbnail.setVideoMutedView(value);
|
|
640
|
+ localVideoThumbnail && localVideoThumbnail.setVideoMutedView(value);
|
641
|
641
|
} else {
|
642
|
642
|
const remoteVideo = remoteVideos[id];
|
643
|
643
|
|
|
@@ -985,7 +985,7 @@ const VideoLayout = {
|
985
|
985
|
} else if (currentId) {
|
986
|
986
|
const currentSmallVideo = this.getSmallVideo(currentId);
|
987
|
987
|
|
988
|
|
- currentSmallVideo.updateView();
|
|
988
|
+ currentSmallVideo && currentSmallVideo.updateView();
|
989
|
989
|
}
|
990
|
990
|
},
|
991
|
991
|
|