SNC / BWNC Kameras

RTSP Stream

Syntax 

rtsp://<username>:<password>@<ip>:<port>/cam/realmonitor?channel=<ChannelNo>&subtype=<typeNo> 

Description 

Get real-time media stream. 

Example 

We request the extra stream 1 of channel 1, the URL is: 

rtsp://admin:password@192.168.0.100:554/cam/realmonitor?channel=1&subtype=1 

Success Return 

media stream data 

Comment 

<username>: a valid user’s username. 

<password>: user’s password. 

< ip>: the IP address of the video product. 

<port >: the default port is 554. It can be omitted. 

<ChannelNo>: integer, the video channel index which starts from 1. 

<typeNo>: the stream type. The <typeNo> of main stream is 0, extra stream 1 is 1, extra stream 2 is 2. The extra stream counts can be obtained in GetMaxExtraStreamCounts. If the stream does not exist or not enabled, response will be error. 

The IP Camera supports both TCP and UDP transmission forms. 

It also supplies basic authentication and digest authentication ways. The authentication process is similar with Authentication. Please check the cameras security settings.

 

 

MJPEG Stream

Syntax 

http://<ip>:<port>/cgi-bin/mjpg/video.cgi?subtype=<typeNo> 

Description 

Get MJPEG media stream. 

Example 

We request the extra stream 1, the URL is: 

http://192.168.178.126/cgi-bin/mjpg/video.cgi?subtype=1

 

We request the main stream, the URL is:

http://192.168.178.126/cgi-bin/mjpg/video.cgi

NOTE: CHECK IF YOUR CAMERA SUPPORTS MJPEG ON THE REQUESTED STREAM BEFORE

Success Return 

media stream data 

Comment 

< ip>: the IP address of the video product. 

<port >: the default port is 554. It can be omitted. 

<typeNo>: the stream type. The <typeNo> of main stream is 0, extra stream 1 is 1, extra stream 2 is 2. The extra stream counts can be obtained in GetMaxExtraStreamCounts. If the stream does not exist or not enabled, response will be error.