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
Update variable name to pinnedId.
damencho27607e8754e3
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex af7db05db1..bfa8449549 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -215,7 +215,6 @@ var VideoLayout = {newId = currentDominantSpeaker;else // Otherwise select last visible videonewId = this.electLastVisibleVideo();- }this.updateLargeVideo(newId);},@@ -982,9 +981,8 @@ var VideoLayout = {// (pinned remote video) use its video type,// if not then use default type - large videoif (!show) {- if(focusedVideoResourceJid)- containerTypeToShow = this.getRemoteVideoType(- focusedVideoResourceJid);+ if(pinnedId)+ containerTypeToShow = this.getRemoteVideoType(pinnedId);elsecontainerTypeToShow = VIDEO_CONTAINER_TYPE;}