Once I get a response back from the UDP Multicast Request to 239.255.255.250
I get back a ProbeMatch with an XAddrs http://10.10.10.10:1234/onvif/device_service
How do I now do the GetSystemDateAndTime and GetDeviceInformation
Is this a TCP/UDP request to 10.10.10.10 port 1234 ? Is this a HTTP request to 10.10.10.10 port 80 ?
Or What Once I have the device's address http:10.10.10.10:1234/onvif/device_service
Then what
Thanks in advance
In your case
http://10.10.10.10:1234/onvif/device_service
is the address of the device management service. You need to send aGetSystemDateAndTime
request according to the SOAP protocol.How to send such requests depends on the system you are working on. You may use Visual Studio or gsoap (there's a FAQ about ONVIF)
You need to send there just a HTTP request as SOAP works over HTTP. For example via CURL it would be like this:
As a result you will get something like this with some headers:
And also dont forget that most of the actions requires authorization headers included in to the request.
AUTHENTICATION
In ONVIF Application Programmer's Guide on page 35 is described how auth is done. For example it looks like this:
@Kirix solution didn't work for my particular camera. However, after a huge amount of code study and trail/error.. I determined that the Trendnet camera I have insists on the header being perfect. I figured out a curl variation: