mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35: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."""
|
"""Configure and control camera via onvif."""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
import site
|
||||||
|
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from onvif import ONVIFCamera
|
from onvif import ONVIFCamera
|
||||||
@ -37,6 +38,7 @@ class OnvifController:
|
|||||||
cam.onvif.port,
|
cam.onvif.port,
|
||||||
cam.onvif.user,
|
cam.onvif.user,
|
||||||
cam.onvif.password,
|
cam.onvif.password,
|
||||||
|
wsdl_dir=site.getsitepackages()[0].replace('dist-packages', 'site-packages') + '/wsdl'
|
||||||
),
|
),
|
||||||
"init": False,
|
"init": False,
|
||||||
"active": False,
|
"active": False,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user