mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Error message when onvif init fails
This commit is contained in:
parent
0feaef0031
commit
4279342cd3
@ -145,6 +145,7 @@ class PtzAutoTracker:
|
||||
|
||||
if not self.onvif.cams[camera_name]["init"]:
|
||||
if not self.onvif._init_onvif(camera_name):
|
||||
logger.warning(f"Unable to initialize onvif for {camera_name}")
|
||||
return
|
||||
if not self.onvif.cams[camera_name]["relative_fov_supported"]:
|
||||
cam.onvif.autotracking.enabled = False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user