Reputation: 13
I have the IP address of an ONVIF supported IP camera,how do I form the address of the DeviceIO web service?
Upvotes: 0
Views: 998
Reputation: 4168
A robust way to do it is the following:
XAddr
from the ProbeMatch
. Usually it is http://<ip_addr>/onvif/device_service
, but it is not guaranteed always to be like this.GetCapabilities
or it has the new GetServices
. GetCapabilitiesRepsonse
or GetServicesResponse
verify if your device supports the Device I/O service and get the corresponding XAddr
.Beware that the initial handshake may be tricky, because if the camera only supports UsernameToken for authtentication, you'll need to syncronize your client with the device's clock. Have a look at the ONVIF Application Programmer's Guide for further details.
Upvotes: 1