Formatting

This commit is contained in:
Nick Mowen 2023-01-11 14:56:15 -07:00
parent 1e9ea32b0c
commit 97e501501f

View File

@ -52,8 +52,9 @@ class RestreamApi:
input.path.startswith("rtsp")
and not camera.restream.force_audio
):
self.relays[cam_name] =
f"{escape_special_characters(input.path)}#backchannel=0"
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(