You may run into issues with a camera connecting or after setting up a camera you may see a red X. You will have to test the camera using VLC media player. This is to test the RTSP stream and make sure it is connecting. If a camera cannot connect using VLC it will give us a better idea of what is going on with the camera.
Navigating to the cameras web interface does not mean that the camera will work. You must test it with VLC because the way the software pulls the stream in is through RTSP on port 554.
- You can find VLC media player here: https://www.videolan.org/vlc/index.html
1. Open VLC and navigate to the "Media"
2. Select "Open Network Stream"
3. Enter the Camera specific RTSP stream.
After entering in the URL and pressing Play you should be prompted to put in the cameras Username and Password. If all is successful it will display the RTSP stream.
When we are testing for packet loss you will select "Tools" and then "Codec Information".
Then select "Statistics". We are looking for the "Lost" packets. This will indicate if the camera is having a bandwidth issue and is dropping packets.
Some Common RTSP URLS:
Dahua RTSP stream (Cameras & NVR)
<ip> - the IP address of the IP Camera.
<port> - the default port is 554. It can be omitted.
<channelNo> - the channel number. It starts from 1.
<typeNo> - the stream type. The
<typeNo> of main stream is 0, extra stream 1 is 1, extra stream 2 is 2.
rtsp://admin:email@example.com:554/cam/realmonitor?channel=1&subtype=1 will bring up substream for channel 1
Hikvision RTSP Stream (NVR)
<address> - DDNS or IP for the system
<port> - RTSP port (typically 554)
<id> - streaming channel - for example “101” would be channel 1 and stream #1 (mainstream). Changing the
<id> to 102 would create channel 1 and stream #2. 201 would produce the channel #2 of the NVR and mainstream and 202 would produce channel #2 and substream.
This RTSP stream would mainstream channel 1 on an NVR at 192.168.1.210.
You can also encode credentials into the URL by entering it prior to the IP address - for example.
rtsp://admin:firstname.lastname@example.org:554/Streaming/Channels/101 will bring up mainstream for channel 1, where admin is the username and 12345 is the password.
Uniview RTSP Stream (NVR)
rtsp://<ip>:<port>/unicast/c<channel number>/s<stream type>/live
<channel number> - c1 would be channel 1, c2 channel 2, etc
<stream type>: 0 (main stream) or 1 (sub stream)
rtsp://admin:email@example.com/unicast/c2/s2/live will bring up substream for channel 2.
Axis RTSP Stream
ACTI RTSP Stream
Avigilon RTSP Stream
http://<username>:<password>@<generated RTSP Stream URI>/
Avigilon RTSP streams must be generated in the web UI of the camera under compression and image rate.
Samsung / Hanwha Techwin Camera RTSP Stream
<no> - stream type either 1 for mainstream or 2 for substream
rtsp://admin:firstname.lastname@example.org:554/profile1/media.smp will bring up mainstream for a camera on 192.168.1.210
Swann camera RTSP Stream
rtsp://admin:password@ip_address:554/ch01/0 where 0 = mainstream and 1 = substream
Note: Swann uses various lines of hardware and software and RTSP streams. You may have to contact support for your specific model. They sometimes use the Hikvision APIs
Arecont Vision RTSP Stream
Samsung / Hanwha Techwin NVR RTSP Stream
LiveChannel/0/ where “0” equals the channel number. Channels start at 0.
Pelco RTSP stream
For Sarix models
rtsp://<camera ip address>/stream1
Example URL -