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
Fix issue updating large video 'src' while on stage
paweldomasf2c9b8b7a5dc
diff --git a/modules/UI/videolayout/LargeVideo.js b/modules/UI/videolayout/LargeVideo.jsindex dc4ed19cf7..351a2b0f35 100644--- a/modules/UI/videolayout/LargeVideo.js+++ b/modules/UI/videolayout/LargeVideo.js@@ -446,7 +446,15 @@ export default class LargeVideoManager {let container = this.getContainer(this.state);- container.hide().then(() => {+ // Include hide()/fadeOut only if we're switching between users+ let preUpdate;+ if (this.newStreamData.id != this.id) {+ preUpdate = container.hide();+ } else {+ preUpdate = Promise.resolve();+ }++ preUpdate.then(() => {let {id, stream, videoType, resolve} = this.newStreamData;this.newStreamData = null;diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 7c94da9db0..d31674e6f0 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -404,7 +404,11 @@ var VideoLayout = {this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||pinnedId === resourceJid ||(!pinnedId && resourceJid &&- currentDominantSpeaker === resourceJid)) {+ currentDominantSpeaker === resourceJid) ||+ /* Playback started while we're on the stage - may need to update+ video source with the new stream */+ this.isCurrentlyOnLarge(resourceJid)) {+this.updateLargeVideo(resourceJid, true);}},