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
add more logging around attaching videos to thumbnails
Leonard Kim8c0f942ae1e3
diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.jsindex a7006a425d..ca3622fc78 100644--- a/modules/UI/videolayout/RemoteVideo.js+++ b/modules/UI/videolayout/RemoteVideo.js@@ -486,6 +486,8 @@ RemoteVideo.prototype.hasVideoStarted = function() {RemoteVideo.prototype.addRemoteStreamElement = function(stream) {if (!this.container) {+ logger.debug('Not attaching remote stream due to no container');+return;}@@ -498,6 +500,8 @@ RemoteVideo.prototype.addRemoteStreamElement = function(stream) {}if (!stream.getOriginalStream()) {+ logger.debug('Remote video stream has no original stream');+return;}diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex 2c46a3f59e..1aa32d9dcd 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -200,7 +200,11 @@ const VideoLayout = {const id = stream.getParticipantId();const remoteVideo = remoteVideos[id];+ logger.debug(`Received a new ${stream.getType()} stream for ${id}`);+if (!remoteVideo) {+ logger.debug('No remote video element to add stream');+return;}