What is the CP Plus RTSP URL format?
GoKavach's Dahua firmware preset serves Dahua, CP Plus, most Honeywell recorders, so for CP Plus it builds Dahua's /cam/realmonitor path with two settings after it: channel for the camera and subtype for the stream. The Dahua RTSP URL guide sets out that format from Dahua's own manual.
We couldn't read CP Plus's own site for this guide, so we can't say which CP Plus models run Dahua firmware. Treat the Dahua path as the first thing to try, not a promise. If the manual for your exact model gives another path, use that one and paste it wherever an address is asked for.
What are the RTSP addresses for a 4, 8 or 16 channel CP Plus DVR?
On a 4-channel DVR, every camera's two addresses are below. Only the channel value moves:
- Input 1: rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=1&subtype=1 (light) or rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=1&subtype=0 (full quality)
- Input 2: rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=2&subtype=1 (light) or rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=2&subtype=0 (full quality)
- Input 3: rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=3&subtype=1 (light) or rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=3&subtype=0 (full quality)
- Input 4: rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=4&subtype=1 (light) or rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=4&subtype=0 (full quality)
- On an 8-channel DVR the last camera is rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=8&subtype=1, and on a 16-channel one rtsp://USER:PASSWORD@HOST:554/cam/realmonitor?channel=16&subtype=1.
What does a working CP Plus DVR and IP camera example look like?
Say a shop's DVR sits at 192.168.0.108, its login is admin, and you want the fourth camera, the one over the back door, at low weight. The address is rtsp://admin:PASSWORD@192.168.0.108:554/cam/realmonitor?channel=4&subtype=1, with the real password in place of PASSWORD. The analogue cameras on a DVR have no address of their own, so the DVR's address is the only way to reach them.
A CP Plus IP camera on the shop's network can be opened on its own address with channel 1, for example rtsp://admin:PASSWORD@192.168.0.150:554/cam/realmonitor?channel=1&subtype=0. From outside the shop, the host becomes the public address or DDNS name, and the port is whatever the router forwards: rtsp://USER:PASSWORD@myshop.example.net:5554/cam/realmonitor?channel=2&subtype=1 if the router passes port 5554 to the recorder's 554.
Where do you find a CP Plus DVR's address and login?
The address is in the DVR's network menu on its own monitor, or in the router's list of connected devices. The guide to finding a DVR's IP address walks through both. Set it as a fixed address on the DVR, or reserve it in the router, so the RTSP URL doesn't break after a power cut.
The login is the one that opens the DVR's menu on its monitor, usually the admin user created at installation. The phone app account the shop owner uses to watch on a mobile is a separate login, and the DVR will refuse it in an RTSP address. If nobody knows the DVR's password, the installer has to reset it.
Why is my CP Plus RTSP URL not working?
Work through these in order, because each one hides the next:
- Nothing answers. The RTSP port is not 554 any more, the router doesn't forward it, or the DVR is not on the network. Open the DVR's network settings and read the RTSP port; open its web page at the same address from a laptop to prove it is reachable.
- RTSP is switched off. If the DVR answers on its web page but not on the RTSP port, look in the network settings for an RTSP or streaming option and turn it on.
- The login fails. It's the phone app's account, the wrong user, or several bad attempts have locked it for a while.
- The password has special characters. Symbols such as @ and # break the address. Cp@1234# has to be written rtsp://admin:Cp%401234%23@HOST:554/cam/realmonitor?channel=1&subtype=1. Use the RTSP URL generator with CP Plus's format selected and it encodes them.
- The wrong camera or none. Channel numbers start at 1 and follow the DVR's input numbers. Input 1 is channel=1; there is no channel=0.
- It plays, then freezes. The address is right and the line is too slow. Use subtype=1.
What works on a CP Plus recorder beyond the video?
That depends on whether the recorder also answers Dahua's web commands, which GoKavach uses on its web port. Where it does, these work on top of alerts and live view:
- Playback of the recorder's own footage by date and time.
- Hard-disk failure alerts, from a check of the recorder's disks every 6 hours, so a DVR that shows live video but records nothing is caught.
- The HD and SD switch in live view, moving between subtype=0 and subtype=1.
- A 15-second siren from the alert: where the camera has its own deterrence light and siren.
How does GoKavach use the CP Plus RTSP URL?
In GoKavach you pick CP Plus, enter the DVR's address, port, login and channel, and it builds the sub stream address above, or tries all 4, 8 or 16 channels with one login and shows which ones answer. If the Dahua format fails, the Hikvision format is tried with the same login. To check an address by hand first, paste it into VLC's Open Network Stream on a laptop on the shop's network, as the Dahua guide describes. The CP Plus camera page lists what else works on these DVRs.