Thank you for reaching out, sorry for your troubles. I can pretty much guarantee that this is an issue with the camera. Most cameras have improper implementation of onvif, so it not surprising that some functions don't work properly. As an aside, there is a more developed version of the program on github at https://github.com/sr99622/libonvif that includes a command line program and a GUI program for working with cameras.
Best Regards,
Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Working with Onvif can be a frustrating experience as the standard is not well followed by camera makers. Just out of curiosity, I tested all of my cameras to see the response to the reboot command.
You could randomly select any Onvif parameter and find in this set of cameras at least one that does not properly implement the feature. In my experience, the Amcrest cameras most closely follow the Onvif specification, and Trendnet is pretty good as well. There's not much you can do if the camera maker has not implemented a feature in Onvif, your best bet is to try accessing the camera through their own web browser interface to use a feature, if they have bothered to implement that.
Hope this helps, thank you for the response
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried this library: https://github.com/kqbi/LibOnvifClient. The same thing: the methods I need work with different camera models, except SystemReboot. Apparently, the problem is in the cameras themselves (vstarcam)
P.S. I need to reboot the camera from a script. Rebooting from the www-interface works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for reaching out, sorry for your troubles. I can pretty much guarantee that this is an issue with the camera. Most cameras have improper implementation of onvif, so it not surprising that some functions don't work properly. As an aside, there is a more developed version of the program on github at https://github.com/sr99622/libonvif that includes a command line program and a GUI program for working with cameras.
Best Regards,
Stephen
"reboot" command in onvif-util doesn't work either.
The rebootCamera() functions in both libraries are identical :)
Hello,
Working with Onvif can be a frustrating experience as the standard is not well followed by camera makers. Just out of curiosity, I tested all of my cameras to see the response to the reboot command.
Dahua - Success
Hikvision - Success
Amcrest - Success
Axis - Success
Foscam - Success
Reolink - Success
Lorex - Success
HiKam - Success
Trendnet - Success
Utalert - Failure
You could randomly select any Onvif parameter and find in this set of cameras at least one that does not properly implement the feature. In my experience, the Amcrest cameras most closely follow the Onvif specification, and Trendnet is pretty good as well. There's not much you can do if the camera maker has not implemented a feature in Onvif, your best bet is to try accessing the camera through their own web browser interface to use a feature, if they have bothered to implement that.
Hope this helps, thank you for the response
I tried this library: https://github.com/kqbi/LibOnvifClient. The same thing: the methods I need work with different camera models, except SystemReboot. Apparently, the problem is in the cameras themselves (vstarcam)
P.S. I need to reboot the camera from a script. Rebooting from the www-interface works.