On Enterprise: if TruRec AI runs in your own environment, our team gathers camera addresses and logins with you during setup.
What an RTSP URL looks like
Most cameras also need a username and password. On SaaS, they go in the camera link, as
rtsp://username:password@…. See What a camera link is. Don’t email them to us.
Check the video format
TruRec AI supports cameras that send H.264 or H.265 video. You’ll find the format on the camera’s video or encoder settings page, often labelled “video encoding” or “codec”. When you test a camera link, the result usually shows the format too.Where to find it
- The camera’s settings page. Type the camera’s IP address into a browser on the same network, sign in, and look under network, streaming or RTSP settings.
- The camera’s manual, or the manufacturer’s website. Search for your model number and “RTSP”.
- Your recorder. If your cameras record to an NVR or VMS, you can often take the video from the recorder instead. See Connect an NVR or Connect a VMS.
Image to come: a generic camera settings page, with the RTSP or streaming section highlighted.
Main stream or sub-stream?
Many cameras offer two streams: a high-quality main stream and a lower-quality sub-stream. You choose which one to use for each camera.- The sub-stream uses less of your site’s upload bandwidth. TruRec AI reads each camera’s video as it is, so a smaller stream means less to upload. See Bandwidth.
- The main stream gives better detection of people far away or small in the picture, and sharper clips.
/Streaming/Channels/101 for the main stream and /Streaming/Channels/102 for the sub-stream, and many Dahua cameras use subtype=0 and subtype=1 in the URL. Check your camera’s manual for yours.
Test it before you connect
On SaaS, TruRec AI tests each camera link from our cloud when you choose Test connection, the same way it will read the video. The result says whether it worked, and why if it didn’t. See If a link fails the test. To check the path first, you can play the camera’s RTSP URL on a computer on the same network as the camera:- Install VLC on that computer.
- Choose Media > Open Network Stream.
- Paste the RTSP URL and choose Play. Enter the camera’s login if VLC asks for one.
