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
Sending unpin after clicking local video and unpinning remote.
damencho6211566c0c10
diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 65f1313874..8a53682eeb 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -341,14 +341,20 @@ var VideoLayout = {* @param id the identifier of the video thumbnail*/handleVideoThumbClicked (id) {+ var smallVideo = VideoLayout.getSmallVideo(id);if(pinnedId) {var oldSmallVideo = VideoLayout.getSmallVideo(pinnedId);- if (oldSmallVideo && !interfaceConfig.filmStripOnly)+ if (oldSmallVideo && !interfaceConfig.filmStripOnly) {oldSmallVideo.focus(false);+ // as no pinned event will be sent for local video+ // and we will unpin old one, lets signal it+ // otherwise we will just send the new pinned one+ if (smallVideo.isLocal)+ eventEmitter.emit(+ UIEvents.PINNED_ENDPOINT, oldSmallVideo, false);+ }}- var smallVideo = VideoLayout.getSmallVideo(id);-// Unpin if currently pinned.if (pinnedId === id){