Add rtsp ffmpeg preset without low_delay/no_buffer

The change to introduce these flags in https://github.com/blakeblackshear/frigate/pull/5231 breaks streaming from 2x of my Revotech cameras, as raised on https://github.com/blakeblackshear/frigate/discussions/5267
This commit is contained in:
James L 2023-01-30 11:12:28 +00:00 committed by GitHub
parent 78dc75a4f1
commit 4055255eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,6 +241,13 @@ PRESETS_INPUT = {
"-flags", "-flags",
"low_delay", "low_delay",
], ],
"preset-rtsp-restream-safe": _user_agent_args
+ [
"-rtsp_transport",
"tcp",
TIMEOUT_PARAM,
"5000000",
],
"preset-rtsp-udp": _user_agent_args "preset-rtsp-udp": _user_agent_args
+ [ + [
"-avoid_negative_ts", "-avoid_negative_ts",