Dahua (NVR)

Have more questions? Submit a request

Dahua (NVR)

Supports Standards

This manufacturer's devices support standards for streaming video and receiving alarms

Native Integration Available

This integration requires a Class 2 License and a Device Server. Please contact your account manager for more details. Steps to configure your device can be found here.

The following is an NVR integration that integration that requires an integration license and may require additional support than a standard SureView integration.

Important Note: Dahua also supports RTSP Live Streaming and Email/SMTP alarms using "Standards Based Integrations" - If the only required features for a project are Live Video and Alarms then using the Standards Based approach may be preferable than the more advanced and feature rich "Native Integration"

Integration Summary 

What is Dahua? Dahua is a manufacture of video surveillance equipment. In particular for this case NVRs

Integration Description: The Integration is a Native Integration that allows a user to view live camera  perform remote tasks such as relay activation/deactivation, perform audio communication and PTZ control. A variety of this functionality can be used via the SureView platform, Please see the features list for a full breakdown of this. 

Native Integration: Supported Features

  • Live Video
  • PTZ
  • Preset GoTo
  • Relay / Output Control
  • Audio Transmit & Receive (Note: Audio Transmit only supported from NVR not to IP Cameras)
  • Live Video
  • Alarms (via Standards based SMTP decoder)

Native Integration: Requirements

From

To

Port

Use

Device Server

Dahua NVR

37777 TCP

SDK Commands (default port)

Device Server

Dahua NVR

554

Live Video RTSP
(default Port)

 

Native Integration: Device Setup


mceclip4.png

Note: Dahua is an advanced integration and must be configured using the using advanced "Device Setup" page and the "Device Configuration" feature.

Field Value
Title The friendly name of the Dehua NVR you are connecting to
Area The Area/site that the Dehua devices/cameras will be added to
Type  Dahua (On-Premise)
Ops Link The name of your connected Device Server
Host The local IP or Host address of the Dahua NVR (from the perspective of the SureView Device 'CloudLink' server)
Port The Dahua Web/SDK Port (3777 by default)
Username The username used to log into the Dahua Web Client
Password The password used to log into the Dahua Web Client
Extra

The ExtraValue string allows you to customise the

Rtsp Port, Rtsp Subtype and Stream number. It needs to be in the following format (case sensitive)

Example 1 - If Subtype and Stream Number are both needed)

[{"name":"Rtsp Port", "value":"554"},{"name":"Rtsp Subtype", "value":"1"},{"name":"Stream Number", "value":"1"}]

 

Example 2 - (If Stream Number isn't needed)

[{"name":"Rtsp Port", "value":"554"},{"name":"Rtsp Subtype", "value":"1"}]

Using PTZ & Presets

  1. Open the Camera window/cell (e.g. in Media Matrix when processing an event)
  2. Click on the Cog icon in the corner of the camera window (hover over the live camera view to display it)
  3. Untick "Digital PTZ" - You can now click on the sides of the camera view to control the Physical PTZ of the camera
  4. To use Presets, click on the "Preset" drop-down and select the required Preset - The camera will automatically move to that preset.
    ptz-operator.png

Adding Audio Channels

  1. In the "Device Setup" screen Edit the device
  2. Click "Audio" in the side bar
  3. Click the Add Audio button and configure the audio channel as required

Standards Integration: Alarm Configuration

Within Dahua - Configure the SMTP Settings

  1. Click on the "Config" tab
  2. Click "Network"
  3. Click "Email" and configure the following settings
    1. SMTP Server: us-smtp.sureviewops.com (if your SureView account is held in the US region) OR eu-smtp.sureviewops.com (if your Ops account is held in the EU region)
    2. Port: 465
    3. Sender: sureview@yourorganisationname.com
    4. Receiver: Enter your unique SureView Alarming Email Address (see SureView Email Alarm Setup support page) - it will look something like a7yxqbje4g@us.sureviewops.com OR a7yxqbje4g@eu.sureviewops.com)
    5. Attachment: Enabled /  Ticked
    6. Anonymous: Enabled / Ticked
  4. Click "Test" to trigger a test alarm and confirm that it's received in SureView.

Within Dahua - Configure the Alarming Settings

  1. Go to the "Detect" folder
  2. Modify alarming settings to send Email Alarms as required

Integration: Troubleshooting

Alarms not sending despite correct setup on NVR

On some models of Dahua devices it is required to have the user and pwd field populated when setting up the SMTP details.

Though SureView doesn't require this to be fulfilled, the DVR can error if they are not.

If you are unable to configure the DVR to send alarm emails, try populating the user and pwd fields with some data (anything - it's not being used) and retry.

"The audio codec in use is not currently supported"

Try a setting up the DVR with a different audio codec. Some are known not to work.

G711 should be a good one to try.

Additionally, the firmware should be upgraded to V3.210.0002.0. Dahua have advised that firmwares of lower versions have been known to experience audio issues.

Multiple Cameras Fail to Stream (User Already Logged In)

If you can only connect to one camera at a time then this is normally caused by the Dahua User being set to only authenticate for single camera streams. You will need to set the user in Dahua to be approved for "simultaneous camera streams" on the Dahua NVR

This may also present itself with the error "User Already Logged In".

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.