I tried using this library to manually connect to my camera by following the README.md
python3
>>> import asyncio
from onvif import ONVIFCamera
mycam = ONVIFCamera('192.168.0.2', 80, 'user', 'passwd', '/etc/onvif/wsdl/')
await mycam.update_xaddrs()
But the /etc/onvif/wsdl wasn't found naturally I got it from: https://github.com/onvif/specs.git and had to manually copy the devicemgmt.wsdl from specs/wsdl/ver10/device/wsdl/
Now I'm getting another error:
RuntimeError: Loading /ver10/schema/onvif.xsd is not supported in async mode
Is it not possible to simply use this library directly??
I tried using this library to manually connect to my camera by following the README.md
But the
/etc/onvif/wsdlwasn't found naturally I got it from: https://github.com/onvif/specs.git and had to manually copy thedevicemgmt.wsdlfromspecs/wsdl/ver10/device/wsdl/Now I'm getting another error:
Is it not possible to simply use this library directly??