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
Fixes unpinning local user which is dominant speaker.
damencho8e6fd0ca9591
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 65f1313874..d24a7447f3 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -358,6 +358,12 @@ var VideoLayout = {if(smallVideo && smallVideo.hasVideo()) {this.updateLargeVideo(currentDominantSpeaker);}+ } else {+ // if there is no currentDominantSpeaker, it can also be+ // that local participant is the dominant speaker+ // we should act as a participant has left and was on large+ // and we should choose somebody (electLastVisibleVideo)+ this.updateLargeVideo(this.electLastVisibleVideo());}eventEmitter.emit(UIEvents.PINNED_ENDPOINT, smallVideo, false);