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
style: Renames variables, adds a FIXME.
Boris Grozevc0c198098b4e
diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.jsindex f7607cf7e9..98f75bb7ea 100644--- a/modules/UI/videolayout/RemoteVideo.js+++ b/modules/UI/videolayout/RemoteVideo.js@@ -440,11 +440,10 @@ RemoteVideo.prototype.waitForPlayback = function (streamElement, stream) {var self = this;- // Register 'onplaying' listener to trigger 'videoactive' on VideoLayout- // when video playback starts+ // Triggers when video playback startsvar onPlayingHandler = function () {self.wasVideoPlayed = true;- self.VideoLayout.videoactive(streamElement, self.id);+ self.VideoLayout.remoteVideoActive(streamElement, self.id);streamElement.onplaying = null;// Refresh to show the videoself.updateView();diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex b2cc533201..289277051d 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -423,12 +423,13 @@ var VideoLayout = {remoteVideo.updateView();},- videoactive (videoelem, resourceJid) {+ // FIXME: what does this do???+ remoteVideoActive(videoElement, resourceJid) {- console.info(resourceJid + " video is now active", videoelem);+ console.info(resourceJid + " video is now active", videoElement);VideoLayout.resizeThumbnails(- false, false, function() {$(videoelem).show();});+ false, false, function() {$(videoElement).show();});// Update the large video to the last added video only if there's no// current dominant, focused speaker or update it to