rebroadcast: always use scrypted rtsp parser for consistency

This commit is contained in:
Koushik Dutta
2025-09-23 12:47:16 -07:00
parent 29714f82d5
commit f4a55ee76b

View File

@@ -573,8 +573,7 @@ class PrebufferSession {
if (isDefault
&& this.usingScryptedParser
&& h264Oddities
&& !this.stopInactive
&& sessionMso.tool !== 'scrypted') {
&& !this.stopInactive) {
this.console.warn('H264 oddities were detected in prebuffered video stream, the Default Scrypted RTSP Parser will not be used. Falling back to FFmpeg. This can be overriden by setting the RTSP Parser to Scrypted.');
this.usingScryptedParser = false;
parser = FFMPEG_PARSER_TCP;
@@ -675,11 +674,6 @@ class PrebufferSession {
return;
}
if (sessionMso.tool === 'scrypted') {
this.console.warn('Stream tool is marked safe as "scrypted", ignoring oddity. If there are issues streaming, consider switching to FFmpeg parser.');
return;
}
// don't restart the stream if it is not a prebuffered stream.
// allow this specific request to continue, and possibly fail.
// the next time the stream is requested, ffmpeg will be used.