mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Disable backchannel audio since it is not used (#5021)
* Disable backchannel audio since it is not used * Don't need to block bachchannel audio for ffmpeg streams * Formatting
This commit is contained in:
parent
1643b4d108
commit
cb0c5c2587
@ -52,7 +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] = escape_special_characters(input.path)
|
self.relays[
|
||||||
|
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