mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Formatting
This commit is contained in:
parent
1e9ea32b0c
commit
97e501501f
@ -52,8 +52,9 @@ class RestreamApi:
|
|||||||
input.path.startswith("rtsp")
|
input.path.startswith("rtsp")
|
||||||
and not camera.restream.force_audio
|
and not camera.restream.force_audio
|
||||||
):
|
):
|
||||||
self.relays[cam_name] =
|
self.relays[
|
||||||
f"{escape_special_characters(input.path)}#backchannel=0"
|
cam_name
|
||||||
|
] = f"{escape_special_characters(input.path)}#backchannel=0"
|
||||||
else:
|
else:
|
||||||
# go2rtc only supports rtsp for direct relay, otherwise ffmpeg is used
|
# go2rtc only supports rtsp for direct relay, otherwise ffmpeg is used
|
||||||
self.relays[cam_name] = get_manual_go2rtc_stream(
|
self.relays[cam_name] = get_manual_go2rtc_stream(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user