How to configure RTSP protocol of cameras and NVR

Published On: August 31st, 2022
Edgar Florez Ostos
SHARE

Real Time Streaming Protocol (RTSP) Is an application layer protocol for connecting, transferring, and streaming media data in real time from IP cameras, NVRs, or DVRs connected to the network. Allowing these devices to be connected to video analytics software.

What uses does this RTSP protocol have?

This protocol mainly helps us to have remote control of any device that has this compatibility. Allowing to centralize video surveillance cameras or NVRs from different sites in the same monitoring center.

Alice Security in control rooms

Custom applications of RTSP protocols

Through the RTSP protocol, custom applications can be used, giving them the ability to add functions to cameras such as: Alice Security, an intelligent video analytics software responsible for monitoring multiple cameras, being able to detect vehicles, license plates, people, etc. firearms, violent actions and much more.

Learn more about Alice Security’s video analytics. Alice Security.

How to find the streaming RTSP of the cameras?

Find this protocol is usually not a very easy task for end users to achieve.

In other cases, some manufacturers put RTSP somewhere in the NVR or camera settings, while others hide it behind their own documentation, API, etc.

RTSP streaming protocol URL by camera brand

Below is a list of RTSP protocols protocols for most cameras currently in use such as: Hikvision, Dahua, Axis, ACTi, Samsung, SCW, Avigilon, Hanwha Techwin, Vivotek, Honeywell, Swann, Arecont Vision, Lorex, Ring, Alro, Pelco, EzViz and Flir.

Dahua RTSP for cameras and NVR

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

<ip> –IP of the Camera.

<port>Default port is 554. This can be skipped.

<channelNo> – Channel number. Start from 1.

<typeNo> – transmission type. The <typeNo>of main stream is 0, additional stream 1 corresponds to 1, additional stream 2 would be 2.

  • URL example: rtsp://admin:12345scw@192.168.1.210:554/cam/realmonitor?channel=1&subtype=1

This will bring sub stream for channel 1.

Hikvision RTSP (NVR)

rtsp://<address>:<port>/Streaming/Channels/<id>

<address>DDNS o IP for system

<port>– RTSP port (typically 554)

<id> – Transmision channel – Example “101” Corresponds to channel 1 and stream #1 (main stream). Changing the <id>to “102” would create NVR channel 1 and transmission #2 and the main transmission and 202 would produce channel #2 and the secondary transmission.

  • Example: rtsp://192.168.1.210:554/Streaming/Channels/101

This RTSP will be broadcast on the main channel 1 of the NVR in 192.168.1.210.

In addition, credentials can be encoded in the URL by entering them before the IP address. Example URL: rtsp://admin:12345@192.168.1.210:554/Streaming/Channels/101

This will display the main stream for channel 1, where admin is the user name and 12345 is the password.

Uniview RTSP (NVR)

rtsp://<ip>:<port>/unicast/c<channel number>/s<stream type>/live

<channel number>

c1 corresponds to channel 1, c2 corresponds to channel 2 and so on.

<stream type>: 0 (main stream) or 1 (secondary stream)

  • URL Example: rtsp://admin:12345scw@192.168.1.210/unicast/c2/s2/live Opens the secondary stream for channel 2.

Axis RTSP

rtsp://ip/axis-media/media.amp

  • URL Example: rtsp://192.168.1.210/axis-media/media.amp

ACTI RTSP

rtsp://ip-addr/

  • URL Example: rtsp://192.168.1.

SCW Admiral / Imperial NVR

rtsp://<ip>:<port>/unicast/c<Channel number>/s<stream type>/live

– c1 is for Channel 1, c2 for Channel 2, and so on.

: 0 (Main Stream) or1 (Secondary Stream) or2 (Third Stream)

Stream URLs can be found through the web interface at: Setup/Network/Port

Also, you can encode the credentials in the URL by entering before the IP address.

  • URL example: rtsp://admin:12345scw@192.168.1.210/unicast/c2/s2/live

The third stream for channel 2 will appear on the NVR located at: 192.168.1.210, where admin is the username and password is: 12345.

Admiral SCW Camera Line

rtsp://<ip>:<port>/media/video

<video> –video 1 would be for the main stream, video2 for the secondary stream, and so on with video3.

Stream URLs can be found through the web interface by going to: Setup/Network/Port

You can also encode the credentials in the URL by entering it before the IP address.

  • URL Example: rtsp://admin:12345scw@192.168.1.210/media/video2

This will bring the secondary stream to the camera.

SCW Networker/Vanguard NVR brands

rtsp://<address>:<port>/Streaming/Channels/<id>

<address>DDNS or IP for the system

<port>RTSP port (typically 554)

<id> – Streaming Channel – Example: “101” would be channel 1 and stream #1 (Main stream). changing the <id> to 102 would create channel 1 and stream #2. 201 would produce stream #2 from the NVR and the main stream, and 202 would produce stream #2 and the sub stream.

Example: rtsp://192.168.1.210:554/Streaming/Channels/101

This RTSP stream would correspond to channel 1 of the NVR at 192.168.1.210.

You can also encode the credentials in the URL by entering it before the IP address.

  • URL example: rtsp://admin:12345@192.168.1.210:554/Streaming/Channels/101

Administrator is the username and 12345 is the password.

Honeywell RTSP

This brand uses different software and hardware manufacturers depending on the year, product line and so on. We recommend you to test if some of the Hikvision and Dahua URLs work.

Avigilon RTSP

http://<username>:<password>@<generated RTSP Stream URI>/

The Avigilon branded stream RTSP must be generated through the camera web interface under compression and frame rate.

RTSP Samsung Cameras/Hanwha Techwin

rtsp://user:password@<device IP>:port/profile<No>/media.smp

<no> – Stream type is 1 for main stream or 2 for secondary stream.

  • URL example: rtsp://admin:12345@192.168.1.210:554/profile1/media.smp It will show the main stream for the camera turned on at: 192.168.1.210

RTSP Samsung/Hanwha Techwin (NVR)

rtsp://<DeviceIP>:port/LiveChannel/0/media.smp

Note: LiveChannel/0/ Channels start with 0. Where 0 is the channel number.

  • Stream Example: rtsp://192.168.1.210:554/LiveChannel/0/media.smp

Swann RTSP cameras

rtsp://admin:password@ip_address:554/ch01/0 Donde 0 = main stream and 1 = secondary stream

Note: The Swann brand uses several lines of hardware, software, and RTSP streams. It will probably be necessary to contact the technical support of the specific model. In some cases they use the Hikvision APIs.

Arecont Vision RTSP

rtsp://ip-addr/h264.sdp

  • URL example: rtsp://192.168.1.210/h264.sdp

Pelco RTSP

For Sarix models: rtsp://<camera ip address>/stream1

  • URL Example: rtsp://192.168.1.210/stream1

Vivotek RTSP

  • URL example: rtsp://:/

Lorex RTSP

Lorex uses various software and hardware manufacturers depending on the year, reference, type, etc. which were acquired by Dahua after being acquired by FLIR. It is recommended to try Dahua RTSPs first. If you hace a new camera and new Hikvision format.

Some Lorex cameras, especially those references that are battery powered, are designed to work exclusively with Lorex equipment. Is possible that RTSP or other third party features will disabled.

EzViz RTSP (Cameras and NVRs)

EZViz cameras are designed to work exclusively with EZViz applications. Because of this, RTSP and third party access is very limited.

FLIR RTSP (Cameras and NVR)

This brand has used several software and hardware manufacturers depending on the year, line or reference. It is recommended to test if they work with Dahua RTSP.

Arlo RTSP

many of battery cameras of this brand do not support RTSP, because the video stream is sent directly to cloud servers.

Ring RTSP

Most battery/cloud ring cameras do not support an RTSP, because the transmission is sent directly to the cloud.

With this list of the most popular brands on the market, you will be able to start communicating different camera systems through this protocol.

In addition, you will be able to connect them to different video management systems (VMS), such as Alice Security. A cloud-based security software capable of optimizing security tasks through automatic and centralized monitoring of multiple cameras with video analytics.

Discover how you can add Artificial Intelligence to your security camera system to support surveillance by detecting, alerting, recording and visualizing critical events in real time.

Alice G

Do you want to try an Alice Demo on your current video surveillance camera system?

Schedule a free consultation with us and we will contact you to study your case.

Por favor agrega el indicativo de tu país.

2 Comments

  1. esentia December 28, 2023 at 12:17 am - Reply

    Extremely helpful post! Configuring RTSP protocol can be a bit of a puzzle, but your step-by-step guide makes the process accessible and clear. The detailed instructions for both cameras and NVR provide a solid foundation for anyone looking to streamline their setup. The inclusion of troubleshooting tips is especially appreciated. Thanks for demystifying RTSP and empowering users to harness the full potential of their surveillance systems. Looking forward to more insightful content from your blog!

    • Hernan Cafiel December 28, 2023 at 10:56 am - Reply

      Thanks for your comment!

Leave A Comment