Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ref(large-video): remove redundant call to update on stream removal

Leonard Kim42a6e6faaf56
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js
index f6de3fc5c1..51b3dafe55 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());
},