mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Formatting
This commit is contained in:
parent
25a4f269e6
commit
d8f29ce58d
@ -3,7 +3,6 @@
|
||||
|
||||
import logging
|
||||
import requests
|
||||
import urllib.parse
|
||||
|
||||
from frigate.config import FrigateConfig
|
||||
|
||||
@ -26,7 +25,7 @@ class RestreamApi:
|
||||
|
||||
for input in camera.ffmpeg.inputs:
|
||||
if "restream" in input.roles:
|
||||
if input.path.startswith('rtsp'):
|
||||
if input.path.startswith("rtsp"):
|
||||
self.relays[cam_name] = input.path
|
||||
else:
|
||||
# go2rtc only supports rtsp for direct relay, otherwise ffmpeg is used
|
||||
|
||||
Loading…
Reference in New Issue
Block a user