What is the Dahua RTSP address format?
A Dahua address ends in /cam/realmonitor with two values after it: channel and subtype. Channel is the camera's number on the recorder, starting at 1. Subtype 0 is the main stream at full resolution, and subtype 1 is the sub stream, a smaller copy made for remote viewing. The Dahua RTSP URL guide lists every channel, and the RTSP URL generator builds one for you.
GoKavach builds the subtype 1 address for the channel you enter. The sub stream is plenty to tell a person from a shadow, and it leaves the location's upload speed alone. When you want the sharp picture, live view has an HD button that swaps to subtype 0.
How do I connect a Dahua recorder to GoKavach?
Connecting a Dahua DVR, XVR or NVR takes a few minutes if you have its login:
- Add a camera and choose Dahua as the brand.
- Enter the host: the public IP address or DDNS name of the location. If there isn't one, install the site connector on an always-on computer there and pick the recorder it finds.
- Leave the port at 554 unless the RTSP port was changed in the recorder's network settings.
- Enter the recorder's username and password, then the channel number.
- Check the test picture, save, and draw the areas to watch.
Does a Dahua recorder need port forwarding, or can the connector reach it?
Either works, and the connector is the one that needs nothing from the router. The choice depends on the internet line at the location.
For a direct connection the location needs a public IP address or a DDNS name, and the router must forward the RTSP port to the recorder. Dahua's manuals list two different ports that are often confused: the TCP port, 37777 by default, which Dahua's own software uses, and the RTSP port, 554 by default. GoKavach reads RTSP, so forwarding 37777 alone shows nothing.
The site connector runs on a Windows 10 or 11, Mac or Linux computer at the location that stays on. It scans the local network for devices answering on the RTSP port, shows the Dahua recorder in the dashboard and makes one outgoing connection. It also carries the recorder's web port, 80, which the hard-disk check and the siren use. On a direct connection, port 80 has to be reachable for those two.
What works on Dahua firmware and what doesn't?
Every row in the table on this page works on Dahua firmware. Besides alerts for people, vehicles and animals, live view, clips and offline and tampering alerts, GoKavach asks a Dahua recorder for things only the recorder knows.
- Playback: the recorder's own recording of a channel from a time you pick, shown on a timeline, with a stretch saved as a clip if you want it.
- HD and SD: one button in live view.
- Hard-disk alerts: the disk is checked every 6 hours and a failed or missing disk raises an alert.
- Siren and light: GoKavach switches on the warning light and siren of the channel's camera through the recorder's coaxial control, for 15 seconds, from an alert or automatically when nobody acknowledges in time. That control is made for analog HDCVI cameras with their own siren behind an XVR; test one camera before relying on it.
How do I add every channel of a Dahua XVR or NVR at once?
Choose 4, 8 or 16 channels when adding the recorder. GoKavach tries channel 1 through the last with the same login, shows a small picture for each one that answers, and adds the ones you tick. Your plan sets how many can be added, up to 16 on Business; a site with more cameras than that is an Enterprise conversation.
Each camera added is checked as often as every 5 seconds on paid plans. If a camera faces a quiet wall, you can slow that one down and keep the faster checks for the gate.
Which plan fits a 4, 8 or 16 channel Dahua recorder?
Count the channels you want watched, then pick the plan that covers them. For a 4-channel XVR, Pro covers every channel, and Starter covers 2 if only the gate and the office door matter. For 8 channels, Pro covers 8. For 16, Business covers 16. The price is per plan, not per camera, and the allowance is shared between your locations, so two 4-channel recorders at two sites fit on one Pro plan.
The automated phone call is on Pro and Business. WhatsApp and SMS start at Starter.
What does one night look like on a Dahua camera with a siren?
Take a yard with a Dahua XVR and an HDCVI camera over the gate that has its own siren and light. The opening hours end at 9 PM, so the location arms itself then.
- 1:14 AM. Someone climbs the gate. Movement makes GoKavach check that camera once a second, and the person shows inside the drawn area in 2 of the last 3 checks. An alert is raised with a picture and a clip from before to after.
- Seconds later. The first person on the contact list gets a WhatsApp with the picture. If they don't respond, their next channel follows a minute later by default.
- About two minutes on. The second person on the list is tried.
- At the target time you set. If the alert is still not acknowledged, the camera's siren and light run for 15 seconds.
- When someone marks it Seen. The round stops. The clip stays with the alert for the next morning.
Why does my Dahua camera fail to connect?
These are the usual reasons a Dahua connection test fails:
- The wrong port was forwarded. Dahua's own viewing software uses a different port from RTSP. GoKavach needs the RTSP port, 554 by default, reachable from outside, or the connector.
- The sub stream is switched off. If the recorder's encode settings have the sub stream disabled for a channel, subtype 1 has nothing to send. Switch it back on at the recorder.
- The line shares its public address. Many internet providers put several customers behind one address, so a forwarded port never receives anything. Use the connector, as described in viewing CCTV remotely without a static IP.
- RTSP is switched off. If port 554 doesn't answer on the local network either, find the RTSP setting in the recorder's network menu. Menus differ by model, so check the maker's support pages.
- The account is locked or lacks rights. Use a recorder user that is allowed to view live video on the channels you are adding.
- It is a rebadged recorder. Some recorders sold as Dahua-compatible answer on the Hikvision format. GoKavach tries that format with the same login when the Dahua one doesn't connect, and tells you if it switched.