Add debugging for SS streaming issues

This commit is contained in:
Jaya Allamsetty 2022-08-11 14:56:01 -04:00
parent 895ce56e8d
commit 3d60773963
2 changed files with 8 additions and 6 deletions

View File

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

View File

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