What does an RTSP address look like?
Every RTSP address has the same five parts: rtsp://, a username and password, the host, a port, and a path. The host is the camera's or recorder's address. The port is 554 on most devices. The path is the part each maker chooses, and it usually says which channel and which stream you want.
The path is the only part you have to look up. It is in the camera's manual, on its network settings page, or in the maker's support pages. The guide to finding an RTSP URL lists where to look and how to test the address in a free video player before using it anywhere. The glossary entry on RTSP explains the protocol itself.
How do I read the path in an RTSP address?
The path names a channel and a stream, and each maker writes the two differently. These are the paths GoKavach's own presets build, which show the patterns you will meet. The camera pages cover each brand.
- /Streaming/Channels/301: Hikvision and Prama. The first digits are the channel, the last two the stream: 01 main, 02 sub.
- /cam/realmonitor?channel=3&subtype=1: Dahua, CP Plus and most Honeywell. Subtype 0 is the main stream, 1 the sub stream.
- /unicast/c3/s1/live: Uniview recorders. c3 is channel 3, s0 the main stream, s1 the sub stream.
- /stream1 and /stream2: TP-Link Tapo. One camera per address; stream2 is the lighter one.
- /axis-media/media.amp?camera=1: Axis. The number is the video source on the device.
How do I test an RTSP address before pasting it?
Open it in a media player on a computer on the camera's own network. If the player shows video, the address, the login and the path are right, and any remaining problem is about reaching the camera from outside.
- Find the device's local address in the router's list of connected devices or on the recorder's network screen.
- Write the address in full: rtsp://, the username, a colon, the password, an @ sign, the local address, a colon, the port and the path.
- In a free player such as VLC, choose the option to open a network stream and paste the address.
- If you see video, paste the same address into GoKavach, with the public address or the site connector in place of the local one.
How do I add a camera to GoKavach by its RTSP URL?
Choose the option to paste an RTSP URL instead of a brand, paste the whole address including the username and password, and run the test. If a picture appears, save the camera and draw the areas to watch.
Use this route for any brand that isn't in the preset list, such as Reolink, Lorex, Annke, Hanwha (Wisenet), Bosch or Imou, for a camera whose preset doesn't connect, and for devices with an unusual path. If the address has a main stream and a sub stream, paste the sub stream: it is lighter on the camera and the location's upload speed, and detection works well on it.
The host must be reachable. Either the location has a public IP or DDNS address with the RTSP port forwarded, or you install the site connector on an always-on computer on the camera's network and use the camera's local address through it. The connector looks for devices answering on ports 554 and 8554, and it links one device: the camera or recorder you pick in the dashboard.
What works on a plain RTSP camera and what doesn't?
On a plain RTSP camera you get everything GoKavach does with video, and none of the extras that need a recorder's own commands. The table on this page shows it row by row.
- Works: intrusion alerts for people, vehicles and animals in the areas, lines and hours you choose; a picture and clip with every alert; live view on phone and computer; camera offline and tampering alerts.
- Doesn't work: the HD and SD switch, playback of footage stored on the device, hard-disk failure alerts, and sounding the camera's siren and light. GoKavach offers them by the shape of the path: all four on a Hikvision or Dahua address, such as one ending in /Streaming/Channels or /cam/realmonitor; playback and the HD and SD switch on a Uniview one; and the HD and SD switch alone on an Ezviz or TP-Link one.
Which cameras can't be connected by RTSP?
A camera that only works through its maker's own app can't be connected. Many battery cameras, video doorbells and low-cost Wi-Fi cameras are built this way: the video goes to the maker's cloud and there is no address on the local network to read.
Two more things stop a connection even when RTSP exists. Some makers leave RTSP switched off until you turn it on in the camera's settings or create a separate camera login. And GoKavach reads RTSP over TCP, so a device that only offers another transport or another protocol won't work. If you are choosing between keeping what you have and buying cameras with AI built in, see existing CCTV vs new AI cameras.
What should I check when an RTSP address won't connect?
Work through these in order; each rules out one layer.
- The port. RTSP is on 554 unless the device was set otherwise. The web page's port and the phone app's port are different ports and carry no RTSP video.
- The login. Use a user that exists on the camera or recorder itself. A cloud or app account is a different login. A password with symbols such as @ or : can break a pasted address; test it in the player first.
- RTSP switched off. Some makers leave it off until you turn it on. Check the maker's support pages for the setting.
- The sub stream is disabled. A sub-stream path returns nothing if that stream is off in the device's video settings.
- A shared internet address. Where the provider puts several customers behind one public address, a forwarded port never receives anything. The connector doesn't need one.
How many RTSP cameras can I add, and which plan fits?
Each pasted address is one camera, added one at a time. Adding 4, 8 or 16 channels together is for the brand presets, where GoKavach knows how to build each channel's address. The Free plan covers 1 camera, checked every 10 seconds; paid plans check as often as every 5 seconds, and every plan checks once a second while there is motion.
For a recorder added channel by channel, Starter covers 2 channels, Pro covers 8, which fits a 4 or 8 channel recorder, and Business covers 16. The price is per plan, not per camera.