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 the issue with ether pad and the broken thumbnail selection.
hristoterezovd5a2281a0115
diff --git a/videolayout.js b/videolayout.jsindex 7a502bab1a..86696f86b1 100644--- a/videolayout.js+++ b/videolayout.js@@ -175,54 +175,53 @@ var VideoLayout = (function (my) {? getDesktopVideoPosition: getCameraVideoPosition;- if (largeVideoState.isVisible) {- // Only if the large video is currently visible.- // Disable previous dominant speaker video.- if (largeVideoState.oldJid) {- var oldResourceJid = Strophe.getResourceFromJid(largeVideoState.oldJid);- VideoLayout.enableDominantSpeaker(oldResourceJid, false);- if(VideoLayout.connectionIndicators) {- var videoContainerId = null;- if (oldResourceJid == Strophe.getResourceFromJid(connection.emuc.myroomjid)) {- videoContainerId = 'localVideoContainer';- }- else {- videoContainerId = 'participant_' + oldResourceJid;- }- if(VideoLayout.connectionIndicators[videoContainerId])- VideoLayout.connectionIndicators[videoContainerId].setShowHQ(false);- }+ // Only if the large video is currently visible.+ // Disable previous dominant speaker video.+ if (largeVideoState.oldJid) {+ var oldResourceJid = Strophe.getResourceFromJid(largeVideoState.oldJid);+ VideoLayout.enableDominantSpeaker(oldResourceJid, false);+ if(VideoLayout.connectionIndicators) {+ var videoContainerId = null;+ if (oldResourceJid == Strophe.getResourceFromJid(connection.emuc.myroomjid)) {+ videoContainerId = 'localVideoContainer';+ }+ else {+ videoContainerId = 'participant_' + oldResourceJid;+ }+ if(VideoLayout.connectionIndicators[videoContainerId])+ VideoLayout.connectionIndicators[videoContainerId].setShowHQ(false);}- // Enable new dominant speaker in the remote videos section.- if (largeVideoState.userJid) {- var resourceJid = Strophe.getResourceFromJid(largeVideoState.userJid);- VideoLayout.enableDominantSpeaker(resourceJid, true);- if(VideoLayout.connectionIndicators)- {- var videoContainerId = null;- if (resourceJid- === Strophe.getResourceFromJid(connection.emuc.myroomjid)) {- videoContainerId = 'localVideoContainer';- }- else {- videoContainerId = 'participant_' + resourceJid;- }- if(VideoLayout.connectionIndicators[videoContainerId])- VideoLayout.connectionIndicators[videoContainerId].setShowHQ(true);- }+ }+ // Enable new dominant speaker in the remote videos section.+ if (largeVideoState.userJid) {+ var resourceJid = Strophe.getResourceFromJid(largeVideoState.userJid);+ VideoLayout.enableDominantSpeaker(resourceJid, true);+ if(VideoLayout.connectionIndicators)+ {+ var videoContainerId = null;+ if (resourceJid+ === Strophe.getResourceFromJid(connection.emuc.myroomjid)) {+ videoContainerId = 'localVideoContainer';+ }+ else {+ videoContainerId = 'participant_' + resourceJid;+ }+ if(VideoLayout.connectionIndicators[videoContainerId])+ VideoLayout.connectionIndicators[videoContainerId].setShowHQ(true);}- largeVideoState.updateInProgress = false;+ }- if (fade) {- // using "this" should be ok because we're called- // from within the fadeOut event.- $(this).fadeIn(300);- }+ if (fade && largeVideoState.isVisible) {+ // using "this" should be ok because we're called+ // from within the fadeOut event.+ $(this).fadeIn(300);}++ largeVideoState.updateInProgress = false;};if (fade) {