python-onvif-zeep
python-onvif-zeep copied to clipboard
Metadata adquisition using the library
I saw that each service is used to extract a part of the information of the camera (media, events, analytics...), but in the ONVIF documentation you can see that there is also an xml file containing the information of the intellingt events (if there is any) programed in the camera. Is there any feature capable of obtaining this kind of information or its just simply not accesible by ONVIF/SOAP?
Hello @DavidCendan ,
Were you able to successfully extract that metadata? If yes, could you please let share with me how you were able to? If No, then did you find any leads/conclusions on how to proceed in order to achieve this goal? Thank you!
You need to define first what you mean by "intelling events"? If you are referring to the Events service, it means you need to create an events service first and then call CreatePullPointSubscription(). Try to see the example in the code examples/pull_live_events.py.
Since this library relies on zeep, you can actually capture XML using the plugin available in zeep. However, since I was so frustrated with the lack of implementation in almost all ONVIF libraries in Python, I created a new repo (onvif-python) that implements xml_capture, so you can view XML requests and responses without any hassle.
Feel free to check out my repo and provide feedback. I hope this helps.