Fix bad logic

This commit is contained in:
Nick Mowen 2023-01-14 15:26:22 -07:00
parent f564b2155a
commit 05515f4ed8

View File

@ -60,7 +60,7 @@ class RestreamApi:
input.path.startswith("rtsp") input.path.startswith("rtsp")
and camera.restream.video_encoding and camera.restream.video_encoding
== RestreamVideoCodecEnum.copy == RestreamVideoCodecEnum.copy
and not camera.restream.audio_encoding and camera.restream.audio_encoding
== [RestreamAudioCodecEnum.copy] == [RestreamAudioCodecEnum.copy]
): ):
self.relays[ self.relays[