Connection details
| RTSP URL format | rtsp://username:password@camera-ip:554/cam/realmonitor?channel=1&subtype=0 |
|---|---|
| Sub-stream URL | rtsp://username:password@camera-ip:554/cam/realmonitor?channel=1&subtype=1 |
| ONVIF | Supported |
| ONVIF port | 80 |
| Default credentials | admin, plus the password you set on the camera |
| Manufacturer app | DMSS / gDMSS |
Dahua cameras stream over RTSP at /cam/realmonitor?channel=1&subtype=0 for the main feed and subtype=1 for the sub-stream. ONVIF is supported, but the user account often needs an explicit ONVIF role created under Setup → System → Account in the camera's web interface.
How to add a Dahua camera
- Sign in to the camera's web interface at its local IP address.
- Go to Setting → Network → Connection and confirm the RTSP port is 554; enable ONVIF under Setting → Network → Access Platform.
- Use subtype=0 for the main stream and subtype=1 for the sub-stream.
Frequently asked questions
What is the Dahua RTSP URL format?
Dahua cameras and recorders use rtsp://username:password@camera-ip:554/cam/realmonitor?channel=1&subtype=0 for the main stream and subtype=1 for the sub-stream. Increase the channel parameter for additional NVR channels.
How do I view a Dahua camera on iPhone without DMSS or gDMSS?
Install an RTSP- or ONVIF-capable iOS viewer, add a new camera, paste the Dahua RTSP URL, and you're streaming directly over Wi-Fi. Skipping DMSS avoids cloud account setup, P2P relays, and the extra latency that comes with them.
Does Dahua support ONVIF?
Yes, ONVIF is supported on virtually every modern Dahua camera. It's usually enabled by default, but you may need to add an ONVIF user under Setup → System → Account → ONVIF before an iPhone viewer can authenticate.
Why won't my Dahua camera connect over RTSP?
Check four things: the camera is reachable on its LAN IP, port 554 isn't remapped, the username has live-view permission (Setup → System → Account), and any ampersand in the URL is escaped as &. Most failures come down to a missing ONVIF user or an unescaped ampersand.
How do I get the sub-stream from a Dahua camera?
Append subtype=1 instead of subtype=0 to the RTSP URL: rtsp://user:pass@camera-ip:554/cam/realmonitor?channel=1&subtype=1. The sub-stream is lower resolution and ideal for multi-camera layouts on iPhone where decoder bandwidth matters.
Can I view a Dahua NVR on iPhone over RTSP?
Yes. Point the URL at the NVR's IP and increment the channel parameter for each connected camera: channel=1 for camera 1, channel=2 for camera 2, and so on. Save one entry per channel and the iPhone viewer keeps them in a single grid.
Download the app and test it with your camera
Scan the QR code or open the App Store link to try IP Camera Viewer & Monitor with your RTSP or ONVIF camera.