From 42a6e6faaf56fc54d8d226cba73d426f1ddd2761 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Tue, 28 May 2019 13:29:36 -0700 Subject: [PATCH] ref(large-video): remove redundant call to update on stream removal --- modules/UI/videolayout/VideoLayout.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index f6de3fc5c..51b3dafe5 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -348,10 +348,6 @@ const VideoLayout = { remoteVideo.removeRemoteStreamElement(stream); } - if (stream.isVideoTrack()) { - this._updateLargeVideoIfDisplayed(id); - } - this.updateMutedForNoTracks(id, stream.getType()); },