Skip to main content

How to find your RTSP stream address

What an RTSP address looks like, where to find it for your camera or NVR/DVR, and how to test it before you connect it to Angelcam.

Written by Ondrej Lanc

When you connect a camera or an NVR/DVR to Angelcam, Angelcam tries to find its stream address automatically. If that doesn’t work, or you want to add several channels of an NVR, you need to enter the address yourself. This article shows what an RTSP address looks like, where to find yours, and how to test it. For the general steps, see How to connect a camera to Angelcam.

Tip: with an AngelBox or a device with the Angelcam Connector, most cameras are found automatically, and you only need the stream address when detection fails.

What an RTSP address looks like

A typical address, here from a Dahua NVR:

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

  • rtsp://: the protocol.

  • admin:password: the user name and password of the camera or NVR, separated by :.

  • @: separates the login from the address.

  • 203.0.113.25: the IP address or hostname of the device. With port forwarding, it’s your public IP address or DDNS hostname. With an AngelBox, it’s the device’s local address.

  • 554: the RTSP port. 554 is the default, but some devices use another one.

  • /cam/realmonitor?channel=1&subtype=0: the stream path. Each manufacturer uses a different one. Here channel=1 is the first channel (use channel=2 and so on for the others), subtype=0 is the main stream and subtype=1 is the lower-resolution sub stream.

Some devices put the login into the path instead, for example:

rtsp://192.168.1.10:554/live=2.2&username=admin&password=pass

MJPEG cameras use HTTP instead of RTSP, for example http://admin:password@203.0.113.25:80/video.mjpeg.

The part you usually need to find out is the path after the port.

Where to find your stream address

Ask the manufacturer or your dealer

They know the stream address for every model they sell. Send them the exact model number.

Look in the device’s web administration

Many cameras and NVRs show the stream address in their settings, usually in the network or video (encoding) section. Some show the whole address, others only the port and the path. Common places:

  • Hikvision: Configuration → Network → Advanced Settings, or the video/encoding settings. The path is usually /Streaming/Channels/101 for channel 1, main stream, and /Streaming/Channels/102 for its sub stream.

  • Dahua: Setting → Network → Connection, or Setting → Camera → Encode.

  • Axis: the stream profile settings.

Search the web for your model

Search for "<your exact model>" RTSP URL. The manufacturer’s documentation or a forum post usually has the working path.

Use ONVIF Device Manager

Most modern cameras and NVRs support ONVIF. ONVIF Device Manager is a free Windows tool that finds them on your network and shows their stream addresses.

  1. Use a computer on the same network as the camera or NVR.

  2. Install ONVIF Device Manager and click Refresh to scan the network.

  3. Select your device. If it asks for a login, enter the user name and password in the upper left corner.

  4. Open Live Video. The stream address is shown below the video. Copy it.

ONVIF Device Manager showing the stream address below the live video.

Note: ONVIF needs the device’s clock to be roughly correct. If it’s far off, the login may fail.

Run the AngelBox Compatibility Tester

The AngelBox Compatibility Tester scans your network and shows which cameras provide a stream Angelcam can use. It’s useful even if you don’t plan to buy an AngelBox.

Test the address in VLC

Before you enter the address in Angelcam, test it in VLC. If VLC plays the video, Angelcam will too.

  1. Open VLC on a computer that can reach the camera. On the same network, use the local IP address. From outside, use the public IP address or DDNS hostname and the forwarded port.

  2. Choose Media → Open Network Stream.

  3. Paste the full address, including the login, and click Play.

If you see video, the address is right. An authentication error means a wrong user name or password. If the video loads but looks broken, the stream may not be H.264 or H.265.

Common problems

  • Special characters in the password. Characters like @, :, /, ?, #, & or % have to be encoded in the address, for example p@ss becomes p%40ss. The easiest fix is a password with letters and numbers only.

  • Main or sub stream. Most devices have a high-resolution main stream and a lower-resolution sub stream. Check that the path points to the one you want.

  • Several channels on an NVR. Each channel has its own address; only the channel number changes. Add each channel as a separate camera. See How to connect an NVR/DVR using port forwarding.

  • RTSP turned off. Some cameras ship with RTSP disabled. Turn it on in the camera’s settings.

  • A different port. 554 is only the default. Check the device’s network settings.

Use the address in Angelcam

  • With an AngelBox or another Angelcam Connector device: after the device finds your camera or NVR, click I want to use a different stream address (profile). Enter only the path after the port, for example /cam/realmonitor?channel=1&subtype=0. If the stream needs a login, tick Stream is password protected. Click Detect camera stream and then Add this stream.

  • With port forwarding: enter the full address with your public IP address (or DDNS hostname) and the forwarded port. See How to connect a camera using port forwarding. You can find your public IP address by clicking I need assistance in that step, or at whatismyip.com. If it changes over time, use a dynamic DNS hostname.

Did this answer your question?