Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
ref(video-layout): remote thumbnail should not update large video directly
Leonard Kim92414a346a7e
diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.jsindex 0fa98fe43d..41c3e6a21b 100644--- a/modules/UI/videolayout/RemoteVideo.js+++ b/modules/UI/videolayout/RemoteVideo.js@@ -366,14 +366,7 @@ RemoteVideo.prototype.removeRemoteStreamElement = function(stream) {logger.info(`${isVideo ? 'Video' : 'Audio'} removed ${this.id}`, select);- // when removing only the video element and we are on stage- // update the stage- if (isVideo && this.isCurrentlyOnLargeVideo()) {- this.VideoLayout.updateLargeVideo(this.id);- } else {- // Missing video stream will affect display mode- this.updateView();- }+ this.updateView();};/**diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 4f207ba495..c8e33c5038 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -347,6 +347,11 @@ const VideoLayout = {if (remoteVideo) {remoteVideo.removeRemoteStreamElement(stream);}++ if (stream.isVideoTrack() && this.isCurrentlyOnLarge(id)) {+ this.updateLargeVideo(id);+ }+this.updateMutedForNoTracks(id, stream.getType());},