From cb0c5c25873862e9caf50191d1540cfb3f1b394f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 11 Jan 2023 16:21:48 -0700 Subject: [PATCH] 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 --- frigate/restream.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frigate/restream.py b/frigate/restream.py index a16d5acc6..0f99d4a8a 100644 --- a/frigate/restream.py +++ b/frigate/restream.py @@ -52,7 +52,9 @@ class RestreamApi: input.path.startswith("rtsp") 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: # go2rtc only supports rtsp for direct relay, otherwise ffmpeg is used self.relays[cam_name] = get_manual_go2rtc_stream(