Where to find your camera's RTSP link

How to work out the video stream address and test it before connecting

An RTSP link is the address at which a camera delivers its video stream. You need it to connect an IP camera to rtsp.me and get a ready-made live stream for a browser or a website.

There is no single address that works for every camera: the format depends on the manufacturer, the model, the firmware and the device settings.

Test an RTSP link

What an RTSP link is made of

Most addresses follow the same general pattern:

rtsp://login:password@ip-address:port/stream-path

If the password contains @, :, /, # or %, those characters may need to be URL encoded. For initial troubleshooting it is easier to create a separate user on the camera with a long password made up of letters and digits.

Where to look for the address

Start with the exact manufacturer name and model number on the label on the camera, on the box or in your router's device list. Then check the following sources:

  1. The camera's web interface. Open its local IP address in a browser and look for sections such as “Network”, “Port”, “RTSP”, “Video”, “Stream” or “Integration”.
  2. The manual and the manufacturer's website. Search for “exact model + RTSP URL” or “exact model + RTSP stream”.
  3. The manufacturer's app. The advanced network settings sometimes list the RTSP port and a protocol toggle.
  4. ONVIF. A compatible ONVIF discovery tool can retrieve the camera profile and the stream URI automatically.
  5. The video recorder. For a camera connected to an NVR, the address may contain the recorder's IP and its channel number rather than the camera's own address.
ONVIF support does not always mean RTSP is enabled by default. On some cameras the protocol has to be switched on separately, or a user has to be created for third-party applications.

Example RTSP links

Below are the common templates. Replace <login>, <password>, <ip> and <port> with your own values. Your particular model or firmware may use a different path.

Hikvision

rtsp://<login>:<password>@<ip>:<port>/Streaming/Channels/101

101 usually means the main stream of the first channel, and 102 the sub stream. For the second channel, 201 and 202 are often used.

HiWatch

rtsp://<login>:<password>@<ip>:<port>/Streaming/Channels/101

Most HiWatch devices use the Hikvision scheme: 101 is the main stream of the first channel and 102 the sub stream.

Dahua

rtsp://<login>:<password>@<ip>:<port>/cam/realmonitor?channel=1&subtype=0

subtype=0 usually selects the main stream and subtype=1 the sub stream.

Tiandy

rtsp://<login>:<password>@<ip>:<port>/1/1

The first digit usually denotes the channel and the second the stream: /1/1 is the main stream of the first channel and /1/2 the sub stream. Some series use a different path, so check the RTSP URI in the ONVIF profile.

Axis

rtsp://<login>:<password>@<ip>:<port>/axis-media/media.amp

Resolution, codec and profile parameters may be appended to the address depending on the model and configuration.

Hanwha Vision

rtsp://<login>:<password>@<ip>:<port>/profile1/media.smp

The number in profile1 depends on the video profile created on the camera. Select the profile you need in the device's web interface.

Vivotek

rtsp://<login>:<password>@<ip>:<port>/live.sdp

Multi-stream models may use paths such as /live2.sdp and other stream numbers.

Reolink

rtsp://<login>:<password>@<ip>:<port>/h264Preview_01_main

The sub stream often ends in _sub. On some models RTSP has to be enabled in the network settings first.

TP-Link Tapo

rtsp://<login>:<password>@<ip>:<port>/stream1

stream1 is usually the main stream and stream2 the sub stream. Use the separate camera account created in the Tapo app.

Uniview

rtsp://<login>:<password>@<ip>:<port>/media/video1

The sub stream often uses the path /media/video2.

Milesight

rtsp://<login>:<password>@<ip>:<port>/main

The sub stream usually uses the path /sub.

Imou

rtsp://<login>:<password>@<ip>:<port>/cam/realmonitor?channel=1&subtype=0

Many models use the Dahua scheme: subtype=0 for the main stream and subtype=1 for the sub stream. RTSP is not available on every model and may need to be enabled in the app.

EZVIZ

rtsp://admin:<verification-code>@<ip>:<port>/h264_stream

On compatible models the password is often the verification code printed on the device label. RTSP support and the path depend on the model and firmware version.

UniFi Protect

For UniFi cameras, the RTSP or RTSPS address is generated in the UniFi Protect interface for the camera and stream quality you select. Copy the URL the system issues: there is no universal path you can safely put together by hand.

RVi, TRASSIR and Beward

These manufacturers use a range of hardware platforms and product lines whose paths do not match. Find the URI through ONVIF, the web interface or the documentation for your exact model. Do not reuse the path from a similar camera just because it carries the same brand name.

Generic ONVIF variant

rtsp://<login>:<password>@<ip>:<port>/onvif1

This path appears on some OEM cameras, but it is not a universal standard. It is better to obtain the exact URI from the device's ONVIF profile.

Main stream or sub stream

A camera often provides several RTSP streams with different settings:

Start with the sub stream. If its quality is not enough and your upload speed allows, switch to the main stream.

Local and external addresses

On a local network the link may contain an address such as 192.168.1.100. The rtsp.me server sits outside your network and cannot connect to an address like that directly.

For a direct connection, use your router's public IP or DDNS name together with the external port forwarded to the camera's RTSP port:

rtsp://login:password@public-ip:external-port/stream-path

If you have no public IP, use the MyVMS Bridge, RTMP Push on a compatible camera, or a ready-to-use rtsp.me camera. The connection diagram is set out in detail on the “How to create a live stream on a website” page.

How to test the link

  1. Put together the full RTSP address with the login, password, address, port and stream path.
  2. Open rtsp.me and paste the link into the test form.
  3. Click “Test” and wait for the result of the remote check.

If the stream does not open, check the credentials, the RTSP port, the path, whether RTSP is enabled on the camera and whether the external port is reachable. For H.265, try the H.264 sub stream if your camera lets you choose the codec.

An RTSP link contains the access details for your camera. Do not publish it on a web page or send it into open chats. For your website, use the ready-made player code supplied by rtsp.me.

Frequently asked questions

Where do I find a camera's RTSP link?
Look in the camera's web interface and manual, the manufacturer's support pages or the ONVIF settings. You will need the exact manufacturer and model number to search.
Which port is used for RTSP?
The standard port is 554, but it may have been changed on the camera or replaced with a different external port when the router was set up.
Why does the example for my manufacturer not work?
The path can differ between models and firmware versions from the same brand. Check the documentation for your specific model and make sure RTSP is enabled.
How do I choose a stream?
The sub stream needs less upload bandwidth and is usually a good fit for a website. The main stream is chosen when top quality matters and your connection can carry its bitrate.
Can I use the camera's local IP?
Only within the same local network. A direct connection from rtsp.me needs a public IP or DDNS plus port mapping; without a public IP, other connection methods are used.

Found your camera's address?

Test the RTSP link on rtsp.me. Once the test succeeds you can connect the camera and get ready-made stream code for your website.

Test an RTSP link