diff --git a/frigate/restream.py b/frigate/restream.py index 9f4fdbf6f..c0b99f579 100644 --- a/frigate/restream.py +++ b/frigate/restream.py @@ -26,7 +26,11 @@ class RestreamApi: for input in camera.ffmpeg.inputs: if "restream" in input.roles: - self.relays[cam_name] = input.path + if input.path.startswith('rtsp'): + self.relays[cam_name] = input.path + else: + # go2rtc only supports rtsp for direct relay, otherwise ffmpeg is used + self.relays[cam_name] = f"ffmpeg:{input.path}" for name, path in self.relays.items(): params = {"src": path, "name": name}