mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
rebroadcast: always use scrypted rtsp parser for consistency
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user