Format go2rtc file

This commit is contained in:
Nicolas Mowen 2024-02-29 09:37:34 -07:00
parent 55c9f3949e
commit 9f26c1f76b

View File

@ -109,9 +109,9 @@ if int(os.environ["LIBAVFORMAT_VERSION_MAJOR"]) < 59:
"rtsp": "-fflags nobuffer -flags low_delay -stimeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport tcp -i {input}" "rtsp": "-fflags nobuffer -flags low_delay -stimeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport tcp -i {input}"
} }
elif go2rtc_config["ffmpeg"].get("rtsp") is None: elif go2rtc_config["ffmpeg"].get("rtsp") is None:
go2rtc_config["ffmpeg"][ go2rtc_config["ffmpeg"]["rtsp"] = (
"rtsp" "-fflags nobuffer -flags low_delay -stimeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport tcp -i {input}"
] = "-fflags nobuffer -flags low_delay -stimeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport tcp -i {input}" )
# add hardware acceleration presets for rockchip devices # add hardware acceleration presets for rockchip devices
# may be removed if frigate uses a go2rtc version that includes these presets # may be removed if frigate uses a go2rtc version that includes these presets