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