mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 18:25:22 +03:00
Try to set wsdl
This commit is contained in:
parent
0bb2f5b845
commit
8c93545e64
@ -1,6 +1,7 @@
|
||||
"""Configure and control camera via onvif."""
|
||||
|
||||
import logging
|
||||
import site
|
||||
|
||||
from enum import Enum
|
||||
from onvif import ONVIFCamera
|
||||
@ -37,6 +38,7 @@ class OnvifController:
|
||||
cam.onvif.port,
|
||||
cam.onvif.user,
|
||||
cam.onvif.password,
|
||||
wsdl_dir=site.getsitepackages()[0].replace('dist-packages', 'site-packages') + '/wsdl'
|
||||
),
|
||||
"init": False,
|
||||
"active": False,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user