Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Add debugging for SS streaming issues

Jaya Allamsetty3d60773963c0
diff --git a/modules/UI/videolayout/LargeVideoManager.js b/modules/UI/videolayout/LargeVideoManager.js
index d87bcc9169..ce859bbcb5 100644
--- a/modules/UI/videolayout/LargeVideoManager.js
+++ b/modules/UI/videolayout/LargeVideoManager.js
@@ -246,7 +246,7 @@ export default class LargeVideoManager {
this.newStreamData = null;
- logger.info(`hover in ${id}`);
+ logger.debug(`Scheduled large video update for ${id}`);
this.state = videoType;
// eslint-disable-next-line no-shadow
const container = this.getCurrentContainer();
@@ -288,12 +288,13 @@ export default class LargeVideoManager {
this.videoTrack.jitsiTrack.getTrackStreamingStatus()));
}
}
+ const streamingStatusActive = isTrackStreamingStatusActive(videoTrack);
- isVideoRenderable = !isVideoMuted && (
- APP.conference.isLocalId(id)
- || participant?.isLocalScreenShare
- || isTrackStreamingStatusActive(videoTrack)
- );
+ isVideoRenderable = !isVideoMuted
+ && (APP.conference.isLocalId(id) || participant?.isLocalScreenShare || streamingStatusActive);
+ this.videoTrack?.jitsiTrack?.getVideoType() === VIDEO_TYPE.DESKTOP
+ && logger.debug(`Remote track ${videoTrack?.jitsiTrack}, isVideoMuted=${isVideoMuted},`
+ + ` streamingStatusActive=${streamingStatusActive}, isVideoRenderable=${isVideoRenderable}`);
} else {
isVideoRenderable = !isVideoMuted
&& (APP.conference.isLocalId(id) || isParticipantConnectionStatusActive(participant));
diff --git a/react/features/base/tracks/reducer.ts b/react/features/base/tracks/reducer.ts
index d44b93759c..6a38a14ab6 100644
--- a/react/features/base/tracks/reducer.ts
+++ b/react/features/base/tracks/reducer.ts
@@ -23,6 +23,7 @@ interface ITrack {
mirror: boolean;
muted: boolean;
participantId: string;
+ streamingStatus?: string;
videoStarted: boolean;
videoType?: string|null;
}