If you own a Dahua device such as an IP camera or a NVR/DVR, you can use the RTSP protocol to live stream. RTSP stands for Real Time Streaming Protocol, a network protocol for streaming the videos in real-time. Basically, it’s designed to send audio or video live from one device to another.
Dahua RTSP URL format
Dahua RTSP: rtsp:// [USER] : [PASS] @ [ADDRESS] : [RTSP PORT] /cam/realmonitor?channel= [CH] &subtype=[STREAM TYPE]
Fill in your information as follows:
- [USER] – This is the username to access your device (IP camera, NVR, DVR)
- [PASS] – This is the password to the user
- [ADDRESS] – This can be the IP address or the domain / DDNS name of your device
- [RTSP PORT] – This is the RTSP port of your device, the default is normally 554
- [CH] – This refers to the channel number that you want to pull
- [STREAM TYPE] – 0 for main stream (highest resolution), 1 for substream (low resolution, but faster)
Example 1. Local IP address
The local IP address of the device is: 192.168.1.100 and the RTSP port is 554. These are the RTSP streaming addresses:
Dahua Main Stream: rtsp://admin:password@192.168.1.100:554/cam/realmonitor?channel=1&subtype=0
Dahua Sub Stream: rtsp://admin:password@192.168.1.100:554/cam/realmonitor?channel=1&subtype=1
Example 2. External IP address
The local IP address of the device is: 105.152.15.99 and the RTSP port is 554. These are the RTSP streaming addresses:
Dahua Main Stream: rtsp://admin:password@105.152.15.99:554/cam/realmonitor?channel=1&subtype=0
Dahua Sub Stream: rtsp://admin:password@105.152.15.99:554/cam/realmonitor?channel=1&subtype=1
Note: this guide works for Dahua and their OEMs sold under these brands: Activecam, Advidia, Amcrest, Ameta, Ascendent, Backstreet Surveillance, BV Security, CCTV Security Pros, CCTV Star, CP Plus (Orange Line), Dax Networks, eLine, ENS (formerly Eastern CCTV and SavvyTech), Expose, Lorex, GSS, Honeywell, IC Realtime, Ikegami, Impath Networks, Inaxsys, IndigoVision, Infinity CCTV, Innekt, Intelbras, KBVision, Lumixen, Maxron, Montavue, Oco, Optiview, Rhodium, RVI, Saxco, Security Camera King (Elite), Space Technology, Speco, ToughDog, Tyco Holis, Tyco Illustra Essentials, Unisight, VIP Vision, Watchnet, Winic, Zuum.