> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trurec.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect an NVR

> Take each camera's video from your NVR or DVR, by adding a camera link for each recorder channel.

If your cameras record to an NVR or DVR, you can usually take each camera's video from the recorder instead of from each camera. Each recorder channel becomes one camera in TruRec AI.

> [!NOTE]
>
> **On Enterprise:** our team connects your recorders with you as part of setup. If TruRec AI runs in your own environment, it reads them on your own network, so you don't forward any ports.

## Before you start

You'll need:

* **The recorder's address on your network,** such as `192.168.1.20`. It's in the recorder's own network menu, or in your router's list of devices. Make it fixed, so it doesn't change. See [Find and fix your recorder's address](https://docs.trurec.ai/networking/fix-your-recorders-address.md).
* **A login for the recorder.** A viewer account is ideal. See [Create a read-only user](https://docs.trurec.ai/getting-started/read-only-vms-user.md).
* **How many channels it has.** 1 to 8, or 1 to 16, is typical.
* **On SaaS, access to your router,** to forward one port from the internet to the recorder's RTSP port. See [Sign in to your router](https://docs.trurec.ai/networking/sign-in-to-your-router.md) and [Ports and firewalls](https://docs.trurec.ai/networking/ports-and-firewalls.md).

## Find each channel's RTSP URL

Most recorders give each channel its own RTSP URL. The channel number is usually part of the address. Look in:

* The recorder's web interface, under network or streaming settings.
* The recorder's manual, or the manufacturer's website. Search for your model and "RTSP".

Check the recorder sends H.264 or H.265 video.

If the recorder offers a main stream and a sub-stream, you choose which to use for each channel. The sub-stream uses less upload bandwidth. The main stream gives better detection of people far away or small in the picture, and sharper clips. See [Main stream or sub-stream?](https://docs.trurec.ai/getting-started/rtsp-urls.md#main-stream-or-sub-stream).

## Add the channels as camera links

On SaaS, TruRec AI can't read the list of channels from a recorder yet. Add a camera link for each channel you want to watch instead:

1. On your router, forward a port to the recorder's RTSP port. One port covers every channel. See [Set up port forwarding](https://docs.trurec.ai/networking/ports-and-firewalls.md#set-up-port-forwarding).
2. Build a link for each channel: your site's internet address, the forwarded port and that channel's path, with the recorder login. For example, `rtsp://viewer:the-password@203.0.113.7:554/Streaming/Channels/102`.
3. In TruRec AI, on the **Cameras** step, choose **I'll add cameras individually**, paste the links, one per line, and choose **Test connection**. Test one channel first if you're not sure of the path.
4. Give each working channel a clear name, such as `yard-east`, and connect it.

See [Connect a camera with a camera link](https://docs.trurec.ai/getting-started/camera-links.md) for each step.

![The Streams page listing four cameras named Recorder ch1 to Recorder ch4, each with a green Healthy status.](https://mintcdn.com/trurec-ai-public-docs/9VQKp94LpB0n4hkt/images/streams/cameras-nvr-channels.png?fit=max\&auto=format\&n=9VQKp94LpB0n4hkt\&q=85\&s=4947609a05a6eab1b109e071fc651f4f)

Four channels from one recorder on the Streams page, each added as its own camera and Healthy.

## Check the channels

Each channel shows **Receiving video** during setup, and **Healthy** on the Streams page, once its video arrives. If one doesn't, see [Camera health](https://docs.trurec.ai/streams/camera-health.md).

Each channel counts as one camera towards your plan. See [How camera pricing works](https://docs.trurec.ai/billing/how-camera-pricing-works.md).

## Tips

* **Recorders limit streams too.** If channels drop out when someone else is viewing, try the recorder's sub-streams, or ask us.
* **Use a viewer login,** not an admin one. TruRec AI only needs to read video.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.