Skip to main content

RTSP cameras

Products: Video Capture SDK .Net

Engines: VideoCaptureCore, VideoCaptureCoreX

Common RTSP camera source

Check the IP cameras article for generic camera source that support many protocols including RTSP.

Low-latency RTSP source

SDK has a special mode for low-latency RTSP streaming. Usually, the latency is less than 250 ms.

// Create the source settings object.
var settings = new IPCameraSourceSettings();

// Configure IP address, username, password, etc.
// ...

// Set RTSP LowLatency mode.
settings.Type = IPSourceEngine.RTSP_LowLatency;

// Set UDP or TCP mode.
settings.RTSP_LowLatency_UseUDP = false; // true to use UDP, false to use TCP

// Set source to the VideoCaptureCore object.
VideoCapture1.IP_Camera_Source = settings;

Sample applications that use the RTSP source