Add debugging for SS streaming issues

pull/12016/head
Jaya Allamsetty 2 years ago
parent 895ce56e8d
commit 3d60773963
  1. 13
      modules/UI/videolayout/LargeVideoManager.js
  2. 1
      react/features/base/tracks/reducer.ts

@ -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));

@ -23,6 +23,7 @@ interface ITrack {
mirror: boolean;
muted: boolean;
participantId: string;
streamingStatus?: string;
videoStarted: boolean;
videoType?: string|null;
}

Loading…
Cancel
Save