From 05515f4ed87c6d0eef1b8879934b7684424e0a53 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 14 Jan 2023 15:26:22 -0700 Subject: [PATCH] Fix bad logic --- frigate/restream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/restream.py b/frigate/restream.py index edc628140..0fe43fc0e 100644 --- a/frigate/restream.py +++ b/frigate/restream.py @@ -60,7 +60,7 @@ class RestreamApi: input.path.startswith("rtsp") and camera.restream.video_encoding == RestreamVideoCodecEnum.copy - and not camera.restream.audio_encoding + and camera.restream.audio_encoding == [RestreamAudioCodecEnum.copy] ): self.relays[