ONVIF - Connecting to IP cameras through the ONVIF protocol

Prev

Next

 






































































































Connecting to IP cameras through the ONVIF protocol

Description

Connecting to IP cameras through the ONVIF protocol

Connecting to an ONVIF camera through the ONVIF protocol (instead of directly the rtsp://... URL) give access:

- to the ONVIF information of the camera

- to the PTZ features

To connect through ONVIF, specify an onvif://IP or onvif://IP:port URL syntax (instead of a rtsp://... URL syntax), e.g.:

VideoGrabber.VideoSource = vs_IPCamera

VideoGrabber.IPCameraURL = "onvif://192.168.5.1:8080

VideoGrabber.SetAuthentication (at_IPCamera, "user", "password");

VideoGrabber.StartPreview();