Connect your Dahua IP cameras and NVRs to AgenticEye using RTSP, ONVIF, or FTP snapshot upload. Full support for IPC-HDW and IPC-HFW series, including dual-stream configuration for NVR channels.
Dahua cameras provide flexible connectivity through industry-standard protocols. RTSP is the preferred method for real-time AI analysis, while ONVIF enables zero-configuration discovery across your network.
Real-time H.264/H.265 video via RTSP. Supports main stream and sub stream selection per channel.
Automatic discovery and PTZ control via ONVIF on port 80. Compatible with Profile S and Profile T.
Event-triggered or scheduled JPEG snapshots uploaded directly to AgenticEye's ingest endpoint.
Dahua's CGI-based API for snapshots, PTZ control, and event management.
The Dahua camera must be on the same network or reachable from the AgenticEye agent via VPN or port forwarding.
Admin credentials for the camera's web interface (default: admin). You will need to create a dedicated user.
We recommend firmware version 2.800 or newer for stable RTSP and full ONVIF Profile S compliance.
An active AgenticEye account with available camera slots. You will need FTP credentials if using snapshot upload.
rtsp://[username]:[password]@[ip]:554/cam/realmonitor?channel=[ch]&subtype=0
rtsp://[username]:[password]@[ip]:554/cam/realmonitor?channel=[ch]&subtype=1
subtype=0 is the main stream (highest resolution), subtype=1 is the sub stream (lower resolution, less bandwidth). For standalone cameras, channel=1. For NVRs, the channel number corresponds to the connected camera port.
# Standalone camera — main stream
rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
# Standalone camera — sub stream
rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
# NVR channel 3 — main stream
rtsp://admin:[email protected]:554/cam/realmonitor?channel=3&subtype=0
# NVR channel 5 — sub stream
rtsp://admin:[email protected]:554/cam/realmonitor?channel=5&subtype=1
Access the Dahua camera's web interface at http://[camera-ip]. Navigate to the network service settings to verify RTSP is active.
# Verify the stream is reachable
ffprobe -rtsp_transport tcp \
"rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0"
Create a separate user for AgenticEye to follow security best practices.
agenticeye@, :, /, and ?).
Dahua cameras support dual-stream output. Configure both streams to give AgenticEye flexibility in balancing quality vs. bandwidth.
Encode Mode: H.264 (H.264H for high-profile)
Resolution: 1920x1080 (1080p)
Frame Rate: 15-25 fps
Bit Rate Type: VBR (Variable Bit Rate)
Bit Rate: 4096 Kbps
I Frame Interval: 2 seconds
Encode Mode: H.264
Resolution: 704x480 (D1)
Frame Rate: 10-15 fps
Bit Rate Type: VBR
Bit Rate: 1536 Kbps
I Frame Interval: 2 seconds
Connect the Dahua camera to your AgenticEye dashboard.
Name: Parking-Lot-Dahua01
Brand: Dahua
Connection Type: RTSP
RTSP URL: rtsp://agenticeye:[email protected]:554/cam/realmonitor?channel=1&subtype=0
Transport: TCP
Frame Interval: 1 (every frame) or 5 (every 5th frame)
Stream Strategy: Main Stream Only (or Adaptive)
Click Test Connection to verify live video, then Save.
Dahua cameras support ONVIF for automatic discovery and configuration.
http://192.168.1.108:80/onvif/device_service
In AgenticEye, go to Cameras → Auto-Discover → Scan Network. Dahua cameras will appear with their model and IP. Select them and enter ONVIF credentials to complete setup.
Configure FTP to send snapshots to AgenticEye, either on a schedule or triggered by camera events (motion, intrusion, etc.).
Server Address: ingest.agenticeye.com
Port: 21
Username: [your-agenticeye-ftp-user]
Password: [your-agenticeye-ftp-password]
Remote Directory: /cameras/dahua-parking-01/
Mode: Passive (PASV)
When connecting through a Dahua NVR (e.g., NVR4216, NVR5432 series), add each camera channel individually.
# Channel 1 — main stream
rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
# Channel 2 — main stream
rtsp://admin:[email protected]:554/cam/realmonitor?channel=2&subtype=0
# Channel 3 — sub stream (lower bandwidth)
rtsp://admin:[email protected]:554/cam/realmonitor?channel=3&subtype=1
# Channel 8 — main stream
rtsp://admin:[email protected]:554/cam/realmonitor?channel=8&subtype=0
Each NVR channel becomes a separate camera in AgenticEye. The channel number matches the camera's port on the NVR (check Setup → Camera → Remote Device for the channel map).
AgenticEye shows "Unsupported codec" or video appears garbled with green artifacts.
The sub stream URL returns an error or shows a different resolution than expected.
Connection refused or timeout when using the Dahua RTSP URL format.
rtsp://user:pass@ip:554/live or rtsp://user:pass@ip:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif. Also verify port 554 is not changed under Setup → Network → Port.ONVIF discovery works but authentication fails with the camera's admin credentials.
The camera shows "FTP test failed" or snapshots are not appearing in AgenticEye.
Our team has deep experience with Dahua deployments from single cameras to enterprise NVR arrays. We are here to help with your setup.
Contact Integration Team →