Closed eziosella closed 1 year ago
Hi Ezio, thank you so much for reaching out. It is unfortunate that onvif-util is unable to communicate with the camera.
In your situation, the camera is not responding to the broadcast discovery message. There are a number of reasons why this can occur, most likely that the camera does not accept the message as valid.
Network issues can also cause the discovery to fail. If the camera is on a separate sub-net, there may be router settings that prevent the discovery packet from reaching the camera, or the camera response from reaching the client.
Some cameras may require you to change the settings from default to explicitly enable onvif. If you look through the configuration of the camera you may find such a setting.
Most likely however, is that the camera does not recognize the onvif-util discovery message. There are some variations to the message that can be seen in the wild, which may or may not be fully onvif compliant. This is a source of frustration for developers as these issues are not easily resolved without acces to the actual device and there are a very large number of devices and limited resources for testing.
Hope this helps to understand the problem.
Best Regards,
Stephen
Thanks Stephen for your reply. I am working on it (not really at full time), in case of news I will post it. Thanks for you project.
Regards, Ezio
Hi there. First of all I am really newbie on cameras world.
I think this is more like a question than an issue.
Anyway I have just download the last commit 381242dfc117561fd3d75d8389d7d447a13a19ef and compiled without any problem on my Ubuntu 22.04.2 LTS (jammy). I have in my office, connected by an Ethernet switch, a camera XNZ-L6320A with Application Programming Interface ONVIF Profile S/G/T SUNAPI(HTTP API) Wisenet open platform. I can connect by browser without any problem.
Instead if I tried connect by onvif-util I wasn't able to connect. I ran the util in several way as below:
then I tried:
and
but the util stand suspended for the eternity without any response or output log.
What am I missing? Maybe is just the camera profiles not corrected?
Thanks in advance, Ezio