ONVIF - Retrieving camera information
Retrieving ONVIF information
Description
Retrieving ONVIF information
The various ONVIF information can be retrieved as strings by invoking ONVIFDeviceInfo (TONVIFDeviceInfo):!
E.g.:
VideoGrabber.VideoSource = vs_IPCamera
VideoGrabber.IPCameraURL = "onvif://192.168.2.144"
VideoGrabber.SetAuthentication (at_IPCamera, "user", "password");
string SerialNumber = VideoGrabber.ONVIFDeviceInfo (onv_SerialNumber);
string PTZInfo = VideoGrabber.ONVIFDeviceInfo (onv_PTZInfo);
string PTZPresets = VideoGrabber.ONVIFDeviceInfo (onv_PTZPresets);
string XMLRecordings = VideoGrabber.ONVIFDeviceInfo (onv_XMLReplay);
string FullXMLInfo = VideoGrabber.ONVIFDeviceInfo (onv_XMLInfo);