Device Network SDK Programming Manual

NET_DVR_GetLastError

This API is used to return error code for the last operation.

DWORD NET_DVR_GetLastError(
);

Return Values

Return the error code. Generally, there are 2 different types of error information: error of network communication library and error of software/hardware decoding library, and the detail information is listed as bellow:

Error Code  of Network Communication Library

Type of Error Value Error Message
NET_DVR_NOERROR 0 No error.
NET_DVR_PASSWORD_ERROR 1 User name or password error.
NET_DVR_NOENOUGHPRI 2 Not authorized to do this operation.
NET_DVR_NOINIT 3 SDK is not initialized.
NET_DVR_CHANNEL_ERROR 4 Channel number error. There is no corresponding channel number on the device.
NET_DVR_OVER_MAXLINK 5 The number of connection with the device has exceeded the max limit.
NET_DVR_VERSIONNOMATCH 6 Version mismatch. SDK version is not matching with the device.
NET_DVR_NETWORK_FAIL_CONNECT 7 Failed to connect to the device. The device is off-line, or connection timeout caused by network.
NET_DVR_NETWORK_SEND_ERROR 8 Failed to send data to the device.
NET_DVR_NETWORK_RECV_ERROR 9 Failed to receive data from the device.
NET_DVR_NETWORK_RECV_TIMEOUT 10 Timeout when receiving the data from the device.
NET_DVR_NETWORK_ERRORDATA 11 The data sent to the device is illegal, or the data received from the device error.  E.g. The input data is not supported by the device for remote configuration.
NET_DVR_ORDER_ERROR 12 API calling order error.
NET_DVR_OPERNOPERMIT 13 Not authorized for this operation.
NET_DVR_COMMANDTIMEOUT 14 Executing command on the device is timeout.
NET_DVR_ERRORSERIALPORT 15 Serial port number error. The assigned serial port does not exist on the device.
NET_DVR_ERRORALARMPORT 16 Alarm port number error.
NET_DVR_PARAMETER_ERROR 17 Parameter error. Input or output parameters in the SDK API is NULL, or the value or format of the parameters does not match with the requirement.
NET_DVR_CHAN_EXCEPTION 18 Device channel is in exception status.
NET_DVR_NODISK 19 No hard disk on the device, and the operation of recording and hard disk configuration will fail.
NET_DVR_ERRORDISKNUM 20 Hard disk number error. The assigned hard disk number does not exist during hard disk management.
NET_DVR_DISK_FULL 21 Device hark disk is full.
NET_DVR_DISK_ERROR 22 Device hard disk error.
NET_DVR_NOSUPPORT 23 Device does not support this function.
NET_DVR_BUSY 24 Device is busy.
NET_DVR_MODIFY_FAIL 25 Failed to modify device parameters.
NET_DVR_PASSWORD_FORMAT_ERROR 26 The inputting password format is not correct.
NET_DVR_DISK_FORMATING 27 Hard disk is formatting, and the operation cannot be done.
NET_DVR_DVRNORESOURCE 28 Not enough resource on the device.
NET_DVR_DVROPRATEFAILED 29 Device operation failed.
NET_DVR_OPENHOSTSOUND_FAIL 30 Failed to collect local audio data or to open audio output during voice talk / broadcasting.
NET_DVR_DVRVOICEOPENED 31 Voice talk channel on the device has been occupied.
NET_DVR_TIMEINPUTERROR 32 Time input is not correct.
NET_DVR_NOSPECFILE 33 There is no selected file for playback.
NET_DVR_CREATEFILE_ERROR 34 Failed to create a file, during local recording, saving picture, getting configuration file or downloading record file.
NET_DVR_FILEOPENFAIL 35 Failed to open a file, when importing configuration file, upgrading device or uploading inquest file.
NET_DVR_OPERNOTFINISH 36 The last operation has not been completed.
NET_DVR_GETPLAYTIMEFAIL 37 Failed to get the current played time.
NET_DVR_PLAYFAIL 38 Failed to start playback.
NET_DVR_FILEFORMAT_ERROR 39 The file format is not correct.
NET_DVR_DIR_ERROR 40 File directory error.
NET_DVR_ALLOC_RESOURCE_ERROR 41 Resource allocation error.
NET_DVR_AUDIO_MODE_ERROR 42 Sound adapter mode error. Currently opened sound playing mode does not match with the set mode.
NET_DVR_NOENOUGH_BUF 43 Buffer is not enough.
NET_DVR_CREATESOCKET_ERROR 44 Create SOCKET error.
NET_DVR_SETSOCKET_ERROR 45 Set SOCKET error.
NET_DVR_MAX_NUM 46 The number of login or preview connections has exceeded the SDK limitation.
NET_DVR_USERNOTEXIST 47 User doest not exist. The user ID has been logged out or unavailable.
NET_DVR_WRITEFLASHERROR 48 Writing FLASH error. Failed to write FLASH during device upgrade.
NET_DVR_UPGRADEFAIL 49 Failed to upgrade device. It is caused by network problem or the language mismatch between the device and the upgrade file.
NET_DVR_CARDHAVEINIT 50 The decode card has already been initialed.
NET_DVR_PLAYERFAILED 51 Failed to call API of player SDK.
NET_DVR_MAX_USERNUM 52 The number of login user has reached the maximum limit.
NET_DVR_GETLOCALIPANDMACFAIL 53 Failed to get the IP address or physical address of local PC.
NET_DVR_NOENCODEING 54 This channel hasn't started encoding.
NET_DVR_IPMISMATCH 55 IP address not match.
NET_DVR_MACMISMATCH 56 MAC address not match.
NET_DVR_UPGRADELANGMISMATCH 57 The language of upgrading file does not match the language of the device.
NET_DVR_MAX_PLAYERPORT 58 The number of player ports has reached the maximum limit.
NET_DVR_NOSPACEBACKUP 59 No enough space to backup file in backup device.
NET_DVR_NODEVICEBACKUP 60 No backup device.
NET_DVR_PICTURE_BITS_ERROR 61 The color quality setting of the picture does not match the requirement, and it should be limited to 24.
NET_DVR_PICTURE_DIMENSION_ERROR 62 The dimension is over 128x256.
NET_DVR_PICTURE_SIZ_ERROR 63 The size of picture is over 100K.
NET_DVR_LOADPLAYERSDKFAILED 64 Failed to load the player SDK.
NET_DVR_LOADPLAYERSDKPROC_ERROR 65 Can not find the function in player SDK.
NET_DVR_LOADDSSDKFAILED 66 Failed to load the library file-"DsSdk".
NET_DVR_LOADDSSDKPROC_ERROR 67 Can not find the API in "DsSdk".
NET_DVR_DSSDK_ERROR 68 Failed to call the API in "DsSdk".
NET_DVR_VOICEMONOPOLIZE 69 Sound adapter has been monopolized.
NET_DVR_JOINMULTICASTFAILED 70 Failed to join to multicast group.
NET_DVR_CREATEDIR_ERROR 71 Failed to create log file directory.
NET_DVR_BINDSOCKET_ERROR 72 Failed to bind socket.
NET_DVR_SOCKETCLOSE_ERROR 73 Socket disconnected. It is caused by network disconnection or destination unreachable.
NET_DVR_USERID_ISUSING 74 The user ID is operating when logout.
NET_DVR_SOCKETLISTEN_ERROR 75 Failed to listen.
NET_DVR_PROGRAM_EXCEPTION 76 SDK program exception.
NET_DVR_WRITEFILE_FAILED 77 Failed to write file, during local recording, saving picture or downloading record file.
NET_DVR_FORMAT_READONLY 78 Failed to format read-only HD.
NET_DVR_WITHSAMEUSERNAME 79 This user name already exists in the user configuration structure.
NET_DVR_DEVICETYPE_ERROR 80 Device type does not match when import configuration.
NET_DVR_LANGUAGE_ERROR 81 Language does not match when import configuration.
NET_DVR_PARAVERSION_ERROR 82 Software version does not match when import configuration.
NET_DVR_IPCHAN_NOTALIVE 83 IP channel is not on-line when previewing.
NET_DVR_RTSP_SDK_ERROR 84 Load StreamTransClient.dll failed.
NET_DVR_CONVERT_SDK_ERROR 85 Load SystemTransform.dll failed.
NET_DVR_IPC_COUNT_OVERFLOW 86 Exceeds maximum number of connected IP channels.
NET_DVR_MAX_ADD_NUM 87 Exceeds maximum number of supported record labels or other operations.
NET_DVR_PARAMMODE_ERROR 88 Image intensifier, parameter mode error. This error may occur when client sets software or hardware parameters.
NET_DVR_CODESPITTER_OFFLINE 89 Code splitter is offline.
NET_DVR_BACKUP_COPYING 90 Device is backing up.
NET_DVR_CHAN_NOTSUPPORT 91 Channel not support.
NET_DVR_CALLINEINVALID 92 The height line location is too concentrated, or the length line is not inclined enough.
NET_DVR_CALCANCELCONFLICT 93 Cancel calibration conflict, if the rule and overall actual size filter have been set.
NET_DVR_CALPOINTOUTRANGE 94 Calibration point exceeds the range.
NET_DVR_FILTERRECTINVALID 95 The size filter does not meet the requirement.
NET_DVR_DDNS_DEVOFFLINE 96 Device has not registered to DDNS.
NET_DVR_DDNS_INTER_ERROR 97 DDNS inner error.
NET_DVR_FUNCTION_NOT_SUPPORT_OS 98 This function don't support this OS.
NET_DVR_DEC_CHAN_REBIND 99 Decode channel can not bind with two display channel.
NET_DVR_INTERCOM_SDK_ERROR 100 Failed to load the audio intercom SDK from current directory.
NET_DVR_NO_CURRENT_UPDATEFILE 101 No current upgrade pack.
NET_DVR_USER_NOT_SUCC_LOGIN 102 Login is not successful
NET_DVR_USE_LOG_SWITCH_FILE 103 Using the log switch file
NET_DVR_POOL_PORT_EXHAUST 104 The port that used for binding is exhaust
NET_DVR_PACKET_TYPE_NOT_SUPPORT 105 Packet type is not supported
NET_DVR_IPPARA_IPID_ERROR 106 IPID is error
NET_DVR_LOAD_HCPREVIEW_SDK_ERROR 107 Live view component is failed to upload
NET_DVR_LOAD_HCVOICETALK_SDK_ERROR 108 Voice talk component is failed to upload
NET_DVR_LOAD_HCALARM_SDK_ERROR 109 Alarm component is failed to upload
NET_DVR_LOAD_HCPLAYBACK_SDK_ERROR 110 Playback component is failed to upload
NET_DVR_LOAD_HCDISPLAY_SDK_ERROR 111 Display component is failed to upload
NET_DVR_LOAD_HCINDUSTRY_SDK_ERROR 112 Industry SDK component is failed to uploa
NET_DVR_LOAD_HCGENERALCFGMGR_SDK_ERROR 113 General configuration management is failed to upload
NET_DVR_CORE_VER_MISMATCH 121 Component is not matched with the core version when uploading the component alone
NET_DVR_CORE_VER_MISMATCH_HCPREVIEW 122 Live view component mismatched with the core version
NET_DVR_CORE_VER_MISMATCH_HCVOICETALK 123 Voice talk component mismatches with the core version
NET_DVR_CORE_VER_MISMATCH_HCALARM 124 Alarm component mismatch with the core version
NET_DVR_CORE_VER_MISMATCH_HCPLAYBACK 125 Playback component mismatches with the core version
NET_DVR_CORE_VER_MISMATCH_HCDISPLAY 126 Display component mismatches with the core version
NET_DVR_CORE_VER_MISMATCH_HCINDUSTRY 127 Industry application component mismatches with the core version
NET_DVR_CORE_VER_MISMATCH_HCGENERALCFGMGR 128 General configuration management component mismatches with the core version
NET_DVR_COM_VER_MISMATCH_HCPREVIEW 136 Live view component mismatches with the HCNetSDK version
NET_DVR_COM_VER_MISMATCH_HCVOICETALK 137 Voice talk component mismatches with the HCNetSDK version
NET_DVR_COM_VER_MISMATCH_HCALARM 138 Alarm component mismatches with the HCNetSDK version
NET_DVR_COM_VER_MISMATCH_HCPLAYBACK 139 Playback component mismatches with the HCNetSDK version
NET_DVR_COM_VER_MISMATCH_HCDISPLAY 140 Display component mismatches with the HCNetSDK version
NET_DVR_COM_VER_MISMATCH_HCINDUSTRY 141 Industry application component mismatches with the HCNetSDK version
NET_DVR_COM_VER_MISMATCH_HCGENERALCFGMGR 142 General configuration management component mismatches with the HCNetSDK version
NET_DVR_ALIAS_DUPLICATE 150 Alias is duplicate (for HiDDNS)
NET_DVR_USERNAME_NOT_EXIST 152 User name does not exist (error code of V5.1.7 to V5.3.1 camera and IPD)
NET_ERR_USERNAME_LOCKED 153 User name is locked
NET_DVR_INVALID_USERID 154 Invalid user name ID
NET_DVR_LOW_LOGIN_VERSION 155 Login version
NET_DVR_LOAD_LIBEAY32_DLL_ERROR 156 Failed to load libeay32.dll
NET_DVR_LOAD_SSLEAY32_DLL_ERROR 157 Failed to load ssleay32.dll
NET_ERR_LOAD_LIBICONV 158 Failed to load libiconv.dll
NET_DVR_TEST_SERVER_FAIL_CONNECT 165 Failed to connect to test server
NET_DVR_NAS_SERVER_INVALID_DIR 166 NAS server failed to load directory, invalid target, or incorrect user name or password.
NET_DVR_NAS_SERVER_NOENOUGH_PRI 167 NAS server failed to load directory, no permission
NET_DVR_EMAIL_SERVER_NOT_CONFIG_DNS 168 Domain name used by server, may be invalid without configuring DNS
NET_DVR_EMAIL_SERVER_NOT_CONFIG_GATEWAY 169 No gateway configured, sending email may be failed
NET_DVR_TEST_SERVER_PASSWORD_ERROR 170 Incorrect user name or password, incorrect user name or password for test server.
NET_DVR_EMAIL_SERVER_CONNECT_EXCEPTION_WITH_SMTP 171 Interaction exception between device and SMTP server
NET_DVR_FTP_SERVER_FAIL_CREATE_DIR 172 FTP server failed to create directory
NET_DVR_FTP_SERVER_NO_WRITE_PIR 173 FTP server has no wirte permission
NET_DVR_IP_CONFLICT 174 IP conflict
NET_DVR_INSUFFICIENT_STORAGEPOOL_SPACE 175 Storage pool space is full
NET_DVR_STORAGEPOOL_INVALID 176 Invalid cloud storage pool, no storage pool configured or incorrect storage pool ID
NET_DVR_EFFECTIVENESS_REBOOT 177 Restart to apply
NET_ERR_ANR_ARMING_EXIST 178 The broken network resuming upload link is existed (the error will be return when choose arming again with broken link upload function after private SDK protocol arming connection is established).
NET_ERR_UPLOADLINK_EXIST 179 The broken network resuming upload link is existed (EHOME protocol and private SDK protocol do not support broken network resuming at a same time).
NET_ERR_INCORRECT_FILE_FORMAT 180 Incorrect importing file format.
NET_ERR_INCORRECT_FILE_CONTENT 181 Incorrect importing file content
NET_ERR_MAX_HRUDP_LINK 182 HRUDP connected device exceeded upper limit.
Error code of RAID    
NET_DVR_NAME_NOT_ONLY 200 This user name already exists.
NET_DVR_OVER_MAX_ARRAY 201 The array exceeds the limitation.
NET_DVR_OVER_MAX_VD 202 The virtual disk exceeds the limitation.
NET_DVR_VD_SLOT_EXCEED 203 The virtual disk slots are full.
NET_DVR_PD_STATUS_INVALID 204 Physical disk used to rebuild RAID is in error state.
NET_DVR_PD_BE_DEDICATE_SPARE 205 Physical disk used to rebuild RAID is assigned as spare disk.
NET_DVR_PD_NOT_FREE 206 Physical disk used to rebuild RAID is not free.
NET_DVR_CANNOT_MIG2NEWMODE 207 Can not migrate from current RAID type to the new type.
NET_DVR_MIG_PAUSE 208 Migration has been paused.
NET_DVR_MIG_ABOUTED 209 Migration has been aborted.
NET_DVR_EXIST_VD 210 There is virtual disk in the array, and the array can not been deleted.
NET_DVR_TARGET_IN_LD_FUNCTIONAL 211 Target physical disk is part of the virtual disk and is functional.
NET_DVR_HD_IS_ASSIGNED_ALREADY 212 Specified physical disk is assigned as a virtual disk.
NET_DVR_INVALID_HD_COUNT 213 Number of physical disks doesn't fit the specified RAID level.
NET_DVR_LD_IS_FUNCTIONAL 214 Specified virtual disk is functional and it can not be rebuilt.
NET_DVR_BGA_RUNNING 215 BGA is running.
NET_DVR_LD_NO_ATAPI 216 Can not create virtual disk with ATAPI drive.
NET_DVR_MIGRATION_NOT_NEED 217 Migration is not necessary.
NET_DVR_HD_TYPE_MISMATCH 218 Physical disks are not of the same type.
NET_DVR_NO_LD_IN_DG 219 No virtual disk exists on the specified array.
NET_DVR_NO_ROOM_FOR_SPARE 220 Disk space is too small to be assigned as spare drive.
NET_DVR_SPARE_IS_IN_MULTI_DG 221 Disk is already assigned as a spare drive for an array.
NET_DVR_DG_HAS_MISSING_PD 222 Disk is missing from an array.
NET_DVR_NAME_EMPTY 223 Name is empty.
NET_DVR_INPUT_PARAM 224 The input parameter is error.
NET_DVR_PD_NOT_AVAILABLE 225 The physical disk is not available.
NET_DVR_ARRAY_NOT_AVAILABLE 226 The RAID is not available
NET_DVR_PD_COUNT 227 The count of physical disks is not correct.
NET_DVR_VD_SMALL 228 Virtual disk is too small.
NET_DVR_NO_EXIST 229 Not exist.
NET_DVR_NOT_SUPPORT 230 Not support the operation.
NET_DVR_NOT_FUNCTIONAL 231 The status of RAID is abnormal.
NET_DVR_DEV_NODE_NOT_FOUND 232 The device node of virtual disk does not exist.
NET_DVR_SLOT_EXCEED 233 The count of slots reaches the upper limit.
NET_DVR_NO_VD_IN_ARRAY 234 There is not virtual disk in the RAID.
NET_DVR_VD_SLOT_INVALID 235 The slot of virtual disk is invalid.
NET_DVR_PD_NO_ENOUGH_SPACE 236 The required space of physical disk is not enough.
NET_DVR_ARRAY_NONFUNCTION 237 Only the RAID on normal state supports to be migrated.
NET_DVR_ARRAY_NO_ENOUGH_SPACE 238 The space of RAID is not enough.
NET_DVR_STOPPING_SCANNING_ARRAY 239 It is pulling the disk out safely or rescanning the disk.
NET_DVR_NOT_SUPPORT_16T 240 Not support create the RAID larger than 16T.
The error code of activating    
NET_DVR_ERROR_DEVICE_NOT_ACTIVATED 250 The device is not activated (login will be failed If the device is not activated, and the error code will be returned)
NET_DVR_ERROR_RISK_PASSWORD 251 Password with risks (the user configured password or activating password is with risks)
NET_DVR_ERROR_DEVICE_HAS_ACTIVATED 252 The device is already activated ( for the device that has been activated, the error code will be returned for the repeated activating)
The error code of smart device    
NET_DVR_ID_ERROR 300 Configuration ID is illegal.
NET_DVR_POLYGON_ERROR 301 Polygon does not match requirement.
NET_DVR_RULE_PARAM_ERROR 302 Rule parameter is illegal.
NET_DVR_RULE_CFG_CONFLICT 303 Configuration conflict.
NET_DVR_CALIBRATE_NOT_READY 304 Calibration not ready.
NET_DVR_CAMERA_DATA_ERROR 305 Camera parameter is illegal.
NET_DVR_CALIBRATE_DATA_UNFIT 306 Not inclined enough, not fit to calibrate.
NET_DVR_CALIBRATE_DATA_CONFILICT 307 Calibration error.
NET_DVR_CALIBRATE_CALC_FAIL 308 Failed to calculate camera calibration parameter.
NET_DVR_CALIBRATE_LINE_OUT_RECT 309 The input calibrating line exceeds the external rectangle sample.
NET_DVR_ENTER_RULE_NOT_READY 310 Enter rule not ready.
NET_DVR_AID_RULE_NO_INCLUDE_LANE 311 It does not include lane in the traffic event rule (especial for traffic jam or driving against the traffic).
NET_DVR_LANE_NOT_READY 312 Lane not ready.
NET_DVR_RULE_INCLUDE_TWO_WAY 313 There are two different directions in event rule.
NET_DVR_LANE_TPS_RULE_CONFLICT 314 The lane conflicts with the data rule.
NET_DVR_NOT_SUPPORT_EVENT_TYPE 315 The event type is not supported by the device.
NET_DVR_LANE_NO_WAY 316 The lane has no direction.
NET_DVR_SIZE_FILTER_ERROR 317 The size of filter is illegal.
NET_DVR_LIB_FFL_NO_FACE 318 There is no face when feature point positioning.
NET_DVR_LIB_FFL_IMG_TOO_SMALL 319 The input image is too small when feature point positioning.
NET_DVR_LIB_FD_IMG_NO_FACE 320 The input image has no face when detecting face in single image.
NET_DVR_LIB_FACE_TOO_SMALL 321 Face is too small when building model.
NET_DVR_LIB_FACE_QUALITY_TOO_BAD 322 Face image is of poor quality when building model.
NET_DVR_KEY_PARAM_ERR 323 Advanced parameter setting error.
NET_DVR_CALIBRATE_DATA_ERR 324 Calibration sample size error, or data value error, or sample points beyond the horizon
NET_DVR_CALIBRATE_DISABLE_FAIL 325 The configured rules do not allow to cancel calibration.
NET_DVR_VCA_LIB_FD_SCALE_OUTRANGE 326 Filter scale is out range.
NET_DVR_LIB_FD_REGION_TOO_LARGE 327 Region is too big.
NET_DVR_TRIAL_OVERDUE 328 Trial overdue.
NET_DVR_CONFIG_FILE_CONFLICT 329 Config file conflict.
NET_DVR_FR_FPL_FAIL 330 Feature points location is error in face recognition.
NET_DVR_FR_IQA_FAIL 331 Image quality assessment is error in face recognition.
NET_DVR_FR_FEM_FAIL 332 Feature extract & match error in face recognition.
NET_DVR_FPL_DT_CONF_TOO_LOW 333 Detection confidence is too low in feature points location.
NET_DVR_FPL_CONF_TOO_LOW 334 Confidence is too low in feature points location.
NET_DVR_E_DATA_SIZE 335 Size of model data error.
NET_DVR_FR_MODEL_VERSION_ERR 336 Model version is error.
NET_DVR_FR_FD_FAIL 337 Face detection error in face recognition.
NET_DVR_FA_NORMALIZE_ERR 338 Face attribute normalize error.
NET_DVR_DOG_PUSTREAM_NOT_MATCH 339 Pustream and softdog are mismatched.
NET_DVR_DEV_PUSTREAM_NOT_MATCH 340 Pustream device version is error.
NET_DVR_PUSTREAM_ALREADY_EXISTS 341 The pustream has existence.
NET_DVR_SEARCH_CONNECT_FAILED 342 Failed to connect face retrieval device.
NET_DVR_INSUFFICIENT_DISK_SPACE 343 Storage space is insufficient.
NET_DVR_DATABASE_CONNECTION_FAILED 344 Failed to connect database.
NET_DVR_DATABASE_ADM_PW_ERROR 345 Username or password is error for database.
NET_DVR_DECODE_YUV 346 Failed to decode image.
NET_DVR_IMAGE_RESOLUTION_ERROR 347 Invalid image resolution
NET_DVR_CHAN_WORKMODE_ERROR 348 Channel operating mode error
Error Code of RTSP Communication Library 400 to 446 Error Code of RTSP Communication Library
Error Code of Software Decoding Library 500 to 528 Error Code of Software Decoding Library
Error Code of Transcode Library 581 Error Code of Transcode Library
Error Code of Two-way Audio Library 600 to 619 Error Code of Two-way Audio Library
Error Code of Qos Stream Control Library 678 to 700 Error Code of Qos Stream Control Library
The other error code    
NET_ERROR_SCENE_USING 717 Scene is in use
NET_ERR_TERMINAL_BUSY 780 Terminal busy, in meeting
NET_DVR_FUNCTION_RESOURCE_USAGE_ERROR 791 Resources is occupied by other functions of the device.
NET_DVR_DEV_NET_OVERFLOW 800 Network traffic is over device ability limit.
NET_DVR_STATUS_RECORDFILE_WRITING_NOT_LOCK 801 The video file is recording and can't be locked.
NET_DVR_STATUS_CANT_FORMAT_LITTLE_DISK 802 The hard disk capacity is too small and can not be formatted.
N+1 error code    
NET_SDK_ERR_REMOTE_DISCONNEC 803 Failed to connect to the remote end
NET_SDK_ERR_RD_ADD_RD 804 Backup device cannot be added to backup device
NET_SDK_ERR_BACKUP_DISK_EXCEPT 805 Backup disk exception
NET_SDK_ERR_RD_LIMIT 806 Upper limit of backup devices reached
NET_SDK_ERR_ADDED_RD_IS_WD 807 Added backup device is working device
NET_SDK_ERR_ADD_ORDER_WRONG 808 Added in incorrect order, add the working device if not added as backup device
NET_SDK_ERR_WD_ADD_WD 809 Working device cannot be added to working device
NET_SDK_ERR_WD_SERVICE_EXCETP 810 CVR service exception (CVR working device exception under N+1 mode)
NET_SDK_ERR_RD_SERVICE_EXCETP 811 Backup device CVR exception
NET_SDK_ERR_ADDED_WD_IS_RD 812 Added working device is backup device
NET_SDK_ERR_PERFORMANCE_LIMIT 813 Performance upper limit reached
NET_SDK_ERR_ADDED_DEVICE_EXIST 814 Added device already exists
Error code of interrogation machine    
NET_SDK_ERR_INQUEST_RESUMING 815 Inquest resuming.
NET_SDK_ERR_RECORD_BACKUPING 816 Record backuping.
NET_SDK_ERR_DISK_PLAYING 817 Disk playing.
NET_SDK_ERR_INQUEST_STARTED 818 Inquest started.
NET_SDK_ERR_LOCAL_OPERATING 819 Local operating.
NET_SDK_ERR_INQUEST_NOT_START 820 Inquest not start.
Other error code    
NET_SDK_ERR_CHAN_AUDIO_BIND 821 Channel not bound or bound two-way audio failed
NET_DVR_N_PLUS_ONE_MODE 822 Currently device is in N+1 mode, cloud storage is not supported
NET_DVR_CLOUD_STORAGE_OPENED 823 Cloud storage mode is enbaled
NET_DVR_ERR_OPER_NOT_ALLOWED 824 Operation failed, The N+0 of the device is be taken over.
NET_DVR_ERR_NEED_RELOCATE 825 The N+0 of the device is be taken over. Get the re-positioning information first and then run again.
Error code of interrogation machine    
NET_SDK_ERR_IR_PORT_ERROR 830 IR output port error
NET_SDK_ERR_IR_CMD_ERROR 831 IR output port command number error
NET_SDK_ERR_NOT_INQUESTING 832 Device is not in interrogation status
NET_SDK_ERR_INQUEST_NOT_PAUSED 833 Device is not in paused status
Other error code    
NET_DVR_CHECK_PASSWORD_MISTAKE_ERROR 834 Incorrect password
NET_DVR_UNABLE_CALIB_ERROR 836 Currently cannot calibrate
NET_DVR_PLEASE_CALIB_ERROR 837 Please finish calibration first
NET_DVR_ERR_CALIB_FAIL_PLEASEAGAIN 839 Calibration failed, please try again
NET_DVR_ERR_DETECTION_LINE 840 Rule line configuration error, please try again and make sure the line is within the red region
NET_ERR_ALARM_INPUT_OCCUPIED 845 A<-1 alarm number has been used for triggering vehicle capture
Error code of large size display    
NET_ERR_WINCHAN_IDX 901 Window channel index error.
NET_ERR_WIN_LAYER 902 Window layer number error(the count of window layers on a single screen exceeds the max number).
NET_ERR_WIN_BLK_NUM 903 Window block number error(the count of screens that single window overlays exceeds the max number).
NET_ERR_OUTPUT_RESOLUTION 904 The output resolution error.
NET_ERR_LAYOUT 905 Layout index error.
NET_ERR_INPUT_RESOLUTION 906 The input resolution is not supported.
NET_ERR_SUBDEVICE_OFFLINE 907 The sub-device is off-line.
NET_ERR_NO_DECODE_CHAN 908 There is no free decoding channel.
NET_ERR_MAX_WINDOW_ABILITY 909 The upper limit of window number.
NET_ERR_ORDER_ERROR 910 Calling order error.
NET_ERR_PLAYING_PLAN 911 Be playing plan.
NET_ERR_DECODER_USED 912 Decoder board is being used.
NET_ERR_OUTPUT_BOARD_DATA_OVERFLOW 913 Output board data overflow
NET_ERR_SAME_USER_NAME 914 Duplicate user name
NET_ERR_INVALID_USER_NAME 915 Invalid user name
NET_ERR_MATRIX_USING 916 Input matrix is in use.
NET_ERR_DIFFERENT_CHAN_TYPE 917 Different channel type (the type of matrix output channel mismatches that of the controller input channel)
NET_ERR_INPUT_CHAN_BINDED 918 Input channel has been bound by other matrix
NET_ERR_BINDED_OUTPUT_CHAN_OVERFLOW 919 The matrix output channels in use exceeded the number bound by matrix and controller
NET_ERR_MAX_SIGNAL_NUM 920 Number of input signals reached upper limit
NET_ERR_INPUT_CHAN_USING 921 Input channel is in use
NET_ERR_MANAGER_LOGON 922 Administrator has logged in, operation failed
NET_ERR_USERALREADY_LOGON 923 The user has logged in, operation failed
NET_ERR_LAYOUT_INIT 924 Scene is initializing, operation failed
NET_ERR_BASEMAP_SIZE_NOT_MATCH 925 Base image size does not match
NET_ERR_WINDOW_OPERATING 926 Window is in other operation, operation failed
NET_ERR_SIGNAL_UPLIMIT 927 Number of signal source window reached upper limit
Error code of decoder    
NET_ERR_WINDOW_SIZE_OVERLIMIT 943 The window size exceeds the limit.
NET_ERR_MAX_WIN_OVERLAP 951 The number of windows overlap has reached the maximum limit.
NET_ERR_STREAMID_CHAN_BOTH_VALID 952 stream ID and channel number are both valid.
NET_ERR_NO_ZERO_CHAN 953 The device has no zero channel.
NEED_RECONNECT 955 Need redirection (for transcoding system)
NET_ERR_NO_STREAM_ID 956 The stream ID does not exist.
NET_DVR_TRANS_NOT_START 957 The transcoding has not been started.
NET_ERR_MAXNUM_STREAM_ID 958 The number of stream ID has reached the maximum limit.
NET_ERR_WORKMODE_MISMATCH 959 The work mode does not match with the requirement.
NET_ERR_MODE_IS_USING 960 It Has been working in current mode.
NET_ERR_DEV_PROGRESSING 961 The device is in processing
NET_ERR_PASSIVE_TRANSCODING 962 It is in transcoding.
NET_DVR_ERR_WINDOW_SIZE_PLACE 975 Wrong window position.
NET_DVR_ERR_RGIONAL_RESTRICTIONS 976 Screen distance exceeds the limit.
NET_DVR_ERR_CLOSE_WINDOWS 984 Operation failed. Close the window first.
NET_DVR_ERR_MATRIX_LOOP_ABILITY 985 Beyond the cycle decoding capacity.
NET_DVR_ERR_MATRIX_LOOP_TIME 986 Invalid cycle decoding time.
NET_DVR_ERR_LINKED_OUT_ABILITY 987 No more linked camera can be added.
Error code of capability set    
XML_ABILITY_NOTSUPPORT 1000 Getting capability node is not supported
XML_ANALYZE_NOENOUGH_BUF 1001 Not enough output memory
XML_ANALYZE_FIND_LOCALXML_ERROR 1002 Failed to find related local xml
XML_ANALYZE_LOAD_LOCALXML_ERROR 1003 Loading local xml error
XML_NANLYZE_DVR_DATA_FORMAT_ERROR 1004 Device capability data format error
XML_ANALYZE_TYPE_ERROR 1005 Capability set type error
XML_ANALYZE_XML_NODE_ERROR 1006 XML capability node format error
XML_INPUT_PARAM_ERROR 1007 Input capability XML node value error
XML_VERSION_MISMATCH 1008 XML version does not match
Other error code    
NET_ERR_TRANS_CHAN_START 1101 Transparent channel has been open, operation failed
NET_ERR_DEV_UPGRADING 1102 Device is upgrading
NET_ERR_MISMATCH_UPGRADE_PACK_TYPE 1103 Upgrade pack type does not match
NET_ERR_DEV_FORMATTING 1104 Device is formatting
NET_ERR_MISMATCH_UPGRADE_PACK_VERSION 1105 Upgrade pack version does not match
Error code of alarm device    
NET_ERR_SEARCHING_MODULE 1201 Searching external module
NET_ERR_REGISTERING_MODULE 1202 Registering external module
NET_ERR_GETTING_ZONES 1203 Getting arming region parameter
NET_ERR_GETTING_TRIGGERS 1204 Getting trigger
NET_ERR_ARMED_STATUS 1205 System is in arming status
NET_ERR_PROGRAM_MODE_STATUS 1206 System is in programming mode
NET_ERR_WALK_TEST_MODE_STATUS 1207 System is in pacing measuring mode
NET_ERR_BYPASS_STATUS 1208 Bypass status
NET_ERR_DISABLED_MODULE_STATUS 1209 Function not enabled
NET_ERR_NOT_SUPPORT_OPERATE_ZONE 1210 Operation is not supported by arming region
NET_ERR_NOT_SUPPORT_MOD_MODULE_ADDR 1211 Module address cannot be modified
NET_ERR_UNREGISTERED_MODULE 1212 Module is not registered
NET_ERR_PUBLIC_SUBSYSTEM_ASSOCIATE_SELF 1213 Public sub system associate with its self
NET_ERR_EXCEEDS_ASSOCIATE_SUBSYSTEM_NUM 1214 Number of associated public sub system reached upper limit
NET_ERR_BE_ASSOCIATED_BY_PUBLIC_SUBSYSTEM 1215 Sub system is associated by other public sub system
NET_ERR_ZONE_FAULT_STATUS 1216 Arming region is in failure status
NET_ERR_SAME_EVENT_TYPE 1217 Same event type exists in enable event trigger alarm output and disable event trigger alarm output
NET_ERR_ZONE_ALARM_STATUS 1218 Arming region is in alarm status
NET_ERR_EXPANSION_BUS_SHORT_CIRCUIT 1219 Extension bus short-circuit
NET_ERR_PWD_CONFLICT 1220 Password conflict, e.g., lock password is identical with duress password
Error code of traffic camera
NET_DVR_ERR_LANENUM_EXCEED 1400 Over the number of lanes.
NET_DVR_ERR_PRAREA_EXCEED 1401 Recognition area is too large.
NET_DVR_ERR_LIGHT_PARAM 1402 Signal lamp access parameters error.
NET_DVR_ERR_LANE_LINE_INVALID 1403 Lane configuration error.
NET_DVR_ERR_STOP_LINE_INVALID 1404 Stop line configuration error.
NET_DVR_ERR_LEFTORRIGHT_LINE_INVALID 1405 Turn left / right boundary configuration error.
NET_DVR_ERR_LANE_NO_REPEAT 1406 Overlay lane number repetition.
NET_DVR_ERR_PRAREA_INVALID 1407 The polygon does not meet the requirements.
NET_DVR_ERR_LIGHT_NUM_EXCEED 1408 Video detection of traffic light signal exceeds the maximum number of.
NET_DVR_ERR_SUBLIGHT_NUM_INVALID 1409 Video detection of traffic signal lamp lights are not legitimate
NET_DVR_ERR_LIGHT_AREASIZE_INVALID 1410 The size of the video detection of traffic light input signal lamp is not valid.
NET_DVR_ERR_LIGHT_COLOR_INVALID 1411 The color of the video detection of traffic light input signal lamp color is not legitimate.
NET_DVR_ERR_LIGHT_DIRECTION_INVALID 1412 The direction property of the video detection of traffic light input light is not valid.
NET_DVR_ERR_LACK_IOABLITY 1413 Lack of IO ablity.
NET_DVR_ERR_FTP_PORT 1414 FTP port error.
NET_DVR_ERR_FTP_CATALOGUE 1415 FTP catalogue error.
NET_DVR_ERR_FTP_UPLOAD_TYPE 1416 FTP upload type error.
NET_DVR_ERR_FLASH_PARAM_WRITE 1417 Setting param flash write error.
NET_DVR_ERR_FLASH_PARAM_READ 1418 Getting param flash read error.
NET_DVR_ERR_PICNAME_DELIMITER 1419 Pic name delimiter error.
NET_DVR_ERR_PICNAME_ITEM 1420 Pic name item error.
NET_DVR_ERR_PLATE_RECOGNIZE_TYPE 1421 Plate recognize type error.
NET_DVR_ERR_CAPTURE_TIMES 1422 Capture times error.
NET_DVR_ERR_LOOP_DISTANCE 1423 Loop distance error.
NET_DVR_ERR_LOOP_INPUT_STATUS 1424 Loop input status error.
NET_DVR_ERR_RELATE_IO_CONFLICT 1425 Related IO conflict.
NET_DVR_ERR_INTERVAL_TIME 1426 Interval time error.
NET_DVR_ERR_SIGN_SPEED 1427 Sign speed error.
NET_DVR_ERR_PIC_FLIP 1428 Flip is used.
NET_DVR_ERR_RELATE_LANE_NUMBER 1429 Related lane number error.
NET_DVR_ERR_TRIGGER_MODE 1430 Trigger mode error.
NET_DVR_ERR_DELAY_TIME 1431 Delay time error.
NET_DVR_ERR_EXCEED_RS485_COUNT 1432 Exceed RS485 count.
NET_DVR_ERR_RADAR_TYPE 1433 Radar type error.
NET_DVR_ERR_RADAR_ANGLE 1434 Radar angle error.
NET_DVR_ERR_RADAR_SPEED_VALID_TIME 1435 Radar speed valid time error.
NET_DVR_ERR_RADAR_LINE_CORRECT 1436 Radar line correct error.
NET_DVR_ERR_RADAR_CONST_CORRECT 1437 Radar const correct error.
NET_DVR_ERR_RECORD_PARAM 1438 Record param error.
NET_DVR_ERR_LIGHT_WITHOUT_COLOR_AND_DIRECTION 1439 Light number and other param error.
NET_DVR_ERR_LIGHT_WITHOUT_DETECTION_REGION 1440 Light number and detection region error.
NET_DVR_ERR_RECOGNIZE_PROVINCE_PARAM 1441 Plate recognize Province param error.
NET_DVR_ERR_SPEED_TIMEOUT 1442 IO Speed TimeOut Param error.
NET_DVR_ERR_NTP_TIMEZONE 1443 NTP TimeZone Param error.
NET_DVR_ERR_NTP_INTERVAL_TIME 1444 NTP Interval Time error.
NET_DVR_ERR_NETWORK_CARD_NUM 1445 Network Card Num error.
NET_DVR_ERR_DEFAULT_ROUTE 1446 Default Route error.
NET_DVR_ERR_BONDING_WORK_MODE 1447 Banding Work Mode error.
NET_DVR_ERR_SLAVE_CARD 1448 Slave Card error.
NET_DVR_ERR_PRIMARY_CARD 1449 Primary Card error.
NET_DVR_ERR_DHCP_PPOE_WORK 1450 DHCP and PPOE not Meanwhile start.
NET_DVR_ERR_NET_INTERFACE 1451 Net Interface invalid.
NET_DVR_ERR_MTU 1452 MTU Param invalid.
NET_DVR_ERR_NETMASK 1453 Netmask address invalid.
NET_DVR_ERR_IP_INVALID 1454 IP address invalid.
NET_DVR_ERR_MULTICAST_IP_INVALID 1455 Multicast IP address invalid.
NET_DVR_ERR_GATEWAY_INVALID 1456 Gateway address invalid.
NET_DVR_ERR_DNS_INVALID 1457 DNS Param invalid.
NET_DVR_ERR_ALARMHOST_IP_INVALID 1458 AlarmHost IP invalid.
NET_DVR_ERR_IP_CONFLICT 1459 IP address Conflict.
NET_DVR_ERR_NETWORK_SEGMENT 1460 IP not support Multi Network segment.
NET_DVR_ERR_NETPORT 1461 NetPort param error.
NET_DVR_ERR_PPPOE_NOSUPPORT 1462 Unsupport PPPOE.
NET_DVR_ERR_DOMAINNAME_NOSUPPORT 1463 Not Support Domain Name.
NET_DVR_ERR_NO_SPEED 1464 Speed Not Enabled.
NET_DVR_ERR_IOSTATUS_INVALID 1465 IO Status invalid.
NET_DVR_ERR_BURST_INTERVAL_INVALID 1466 Burst Interval invalid.
NET_DVR_ERR_RESERVE_MODE 1467 Reserve Mode invalid.
NET_DVR_ERR_LANE_NO 1468 Lane No error.
NET_DVR_ERR_COIL_AREA_TYPE 1469 Coil Area Type error.
NET_DVR_ERR_TRIGGER_AREA_PARAM 1470 Trigger Area Param error.
NET_DVR_ERR_SPEED_LIMIT_PARAM 1471 Speed Limit Param error.
NET_DVR_ERR_LANE_PROTOCOL_TYPE 1472 Lane Protocol Type error.
NET_DVR_ERR_INTERVAL_TYPE 1473 Capture Interval Type error.
NET_DVR_ERR_INTERVAL_DISTANCE 1474 Capture Interval Distance error.
NET_DVR_ERR_RS485_ASSOCIATE_DEVTYPE 1475 Rs485 Associate DevType error.
NET_DVR_ERR_RS485_ASSOCIATE_LANENO 1476 Rs485 Associate LaneNo error.
NET_DVR_ERR_LANENO_ASSOCIATE_MULTIRS485 1477 LaneNo Associate MulitRs485 error.
NET_DVR_ERR_LIGHT_DETECTION_REGION 1478 Light Detection Region error.
NET_DVR_ERR_DN2D_NOSUPPORT 1479 UnSupport Capture Frame 2D Noise Reduction.
NET_DVR_ERR_IRISMODE_NOSUPPORT 1480 UnSupport scene Mode.
NET_DVR_ERR_WB_NOSUPPORT 1481 UnSupport White Balance Mode.
NET_DVR_ERR_IO_EFFECTIVENESS 1482 IO Effectiveness invalid.
NET_DVR_ERR_LIGHTNO_MAX 1483 Access Detector Lights Red / Yellow Overrun.
NET_DVR_ERR_LIGHTNO_CONFLICT 1484 Access Detector Lights Red / Yellow Conflict.
NET_DVR_ERR_CANCEL_LINE 1485 Trigger straight line error.
NET_DVR_ERR_STOP_LINE 1486 Subject line area stop line error.
NET_DVR_ERR_RUSH_REDLIGHT_LINE 1487 Red light trigger lines error.
NET_DVR_ERR_IOOUTNO_MAX 1488 IO out port error.
NET_DVR_ERR_IOOUTNO_AHEADTIME_MAX 1489 IO out ahead time error.
NET_DVR_ERR_IOOUTNO_IOWORKTIME 1490 IO out inwork time error.
NET_DVR_ERR_IOOUTNO_FREQMULTI 1491 IO out frequency multiplication error.
NET_DVR_ERR_IOOUTNO_DUTYRATE 1492 IO out duty rate error.
NET_DVR_ERR_VIDEO_WITH_EXPOSURE 1493 IO out work mode error.
NET_DVR_ERR_PLATE_BRIGHTNESS_WITHOUT_FLASHDET 1494 Plate enable in plate compensate mode on.
NET_DVR_ERR_RECOGNIZE_TYPE_PARAM 1495 Recognize Type error.
NET_DVR_ERR_PALTE_RECOGNIZE_AREA_PARAM 1496 Plate Recognize Area Param error.
NET_DVR_ERR_PORT_CONFLICT 1497 Port Conflict.
NET_DVR_ERR_LOOP_IP 1498 IP cannot be the loopback address.
NET_DVR_ERR_DRIVELINE_SENSITIVE 1499 Driveline sensitivity error.
VQD error code
NET_ERR_VQD_TIME_CONFLICT 1500 The time period conflict.
NET_ERR_VQD_PLAN_NO_EXIST 1501 The diagnostic plan of VQD dese not exist.
NET_ERR_VQD_CHAN_NO_EXIST 1502 The channel dese not exist.
NET_ERR_VQD_CHAN_MAX 1503 The total number of VQD plans exceeds the max limit.
NET_ERR_VQD_TASK_MAX 1504 The total number of VQD tasks exceeds the max limit.
Added error code of traffic camera
NET_DVR_ERR_EXCEED_MAX_CAPTURE_TIMES 1600 Capture times exceed 2 in flash mode.
NET_DVR_ERR_REDAR_TYPE_CONFLICT 1601 Radar type conflict.
NET_DVR_ERR_LICENSE_PLATE_NULL 1602 The license plate is null.
NET_DVR_ERR_WRITE_DATABASE 1603 Failed to write data into the database.
NET_DVR_ERR_LICENSE_EFFECTIVE_TIME 1604 The effective time of licence plate error.
NET_DVR_ERR_PRERECORDED_STARTTIME_LONG 1605 The pre recorded start time is greater than the number of illegal capture.
NET_DVR_ERR_TRIGGER_RULE_LINE 1606 Trigger rule line error.
NET_DVR_ERR_LEFTRIGHT_TRIGGERLINE_NOTVERTICAL 1607 Left and right trigger line is not vertical.
NET_DVR_ERR_FLASH_LAMP_MODE 1608 Flash lamp mode error.
NET_DVR_ERR_ILLEGAL_SNAPSHOT_NUM 1609 Illegal capture number error.
NET_DVR_ERR_ILLEGAL_DETECTION_TYPE 1610 Illegal detection type error.
NET_DVR_ERR_POSITIVEBACK_TRIGGERLINE_HIGH 1611 Positive back to trigger line height error.
NET_DVR_ERR_MIXEDMODE_CAPTYPE_ALLTARGETS 1612 Mixed mode only supports capture type all targets.
NET_DVR_ERR_CARSIGNSPEED_GREATERTHAN_LIMITSPEED 1613 Car sign speed greater than speed limit value.
NET_DVR_ERR_BIGCARSIGNSPEED_GREATERTHAN_LIMITSPEED 1614 Big car sign speed limit greater than speed limit value.
NET_DVR_ERR_BIGCARSIGNSPEED_GREATERTHAN_CARSIGNSPEED 1615 Big car sign speed limit is greater than the car sign speed limit value.
NET_DVR_ERR_BIGCARLIMITSPEED_GREATERTHAN_CARLIMITSPEED 1616 Big car speed limit value is greater than the car speed limit value.
NET_DVR_ERR_BIGCARLOWSPEEDLIMIT_GREATERTHAN_CARLOWSPEEDLIMIT 1617 Big car low speed limit value is greater than the car low speed limit value.
NET_DVR_ERR_CARLIMITSPEED_GREATERTHAN_EXCEPHIGHSPEED 1618 Car speed limit greater than exception high speed value.
NET_DVR_ERR_BIGCARLIMITSPEED_GREATERTHAN_EXCEPHIGHSPEED 1619 Big car speed limit greater than exception high speed value.
NET_DVR_ERR_STOPLINE_MORETHAN_TRIGGERLINE 1620 Stopping more than straight lines trigger lines.
Error code of access control host
NET_ERR_TIME_OVERLAP 1900 Time periods pverlap
NET_ERR_HOLIDAY_PLAN_OVERLAP 1901 Holiday plan overlap
NET_ERR_CARDNO_NOT_SORT 1902 Card number is not sorted
NET_ERR_CARDNO_NOT_EXIST 1903 Card number does not exist
NET_ERR_ILLEGAL_CARDNO 1904 Card number error
NET_ERR_ZONE_ALARM 1905 Arming region is in arming status (parameter cannot be modified)
NET_ERR_ZONE_OPERATION_NOT_SUPPORT 1906 Arming region does not support the operation
NET_ERR_INTERLOCK_ANTI_CONFLICT 1907 Interlock and anti-passback configuration conflict
NET_ERR_DEVICE_CARD_FULL 1908 Card full (return after card reached 10,000)
NET_ERR_HOLIDAY_GROUP_DOWNLOAD 1909 Failed to download holiday group
NET_ERR_LOCAL_CONTROL_OFF 1910 Distributed access controller offline
NET_ERR_LOCAL_CONTROL_DISADD 1911 Distributed access controller is not added
NET_ERR_LOCAL_CONTROL_HASADD 1912 Distributed access controller is added
NET_ERR_LOCAL_CONTROL_DOORNO_CONFLICT 1913 Conflict with added distributed access controller
NET_ERR_LOCAL_CONTROL_COMMUNICATION_FAIL 1914 Distributed access controller communication failed
NET_ERR_OPERAND_INEXISTENCE 1915 Operation object does not exist (operation to door, alarm output, alarm input, return when the object is not added)
NET_ERR_LOCAL_CONTROL_OVER_LIMIT 1916 Distributed access controller exceeded device capability upper limit
NET_ERR_DOOR_OVER_LIMIT 1917 Door exceeded device capability upper limit
NET_ERR_ALARM_OVER_LIMIT 1918 Alarm input and output exceeded device capability upper limit
NET_ERR_LOCAL_CONTROL_ADDRESS_INCONFORMITY_TYPE 1919 Distributed access controller address does not match with type
Error code of video intercom
NET_DVR_ERR_OUTDOOR_COMMUNICATION 1950 Communication exception with outdoor terminal
NET_DVR_ERR_ROOMNO_UNDEFINED 1951 Room number is not set
NET_DVR_ERR_NO_CALLING 1952 No call
NET_DVR_ERR_RINGING 1953 Ringing
NET_DVR_ERR_IS_CALLING_NOW 1954 Call in progress
NET_DVR_ERR_LOCK_PASSWORD_WRONG 1955 Incorrect smart lock password
NET_DVR_ERR_CONTROL_LOCK_FAILURE 1956 Lock control failure
NET_DVR_ERR_CONTROL_LOCK_OVERTIME 1957 Lock control timed out
NET_DVR_ERR_LOCK_DEVICE_BUSY 1958 Smart lock device busy
NET_DVR_ERR_UNOPEN_REMOTE_LOCK_FUNCTION 1959 Remote lock control not enabled
Other error code
NET_DVR_ERR_FILE_NOT_COMPLETE 2100 Downloaded file is incomplete
NET_DVR_ERR_IPC_EXIST 2101 The camera already exists
NET_DVR_ERR_ADD_IPC 2102 Camera has been added to the channel
NET_DVR_ERR_OUT_OF_RES 2103 Not enough network bandwidth
NET_DVR_ERR_CONFLICT_TO_LOCALIP 2104 IP address of camera conflicts with that of DVR
NET_DVR_ERR_IP_SET 2105 Invalid IP address
NET_DVR_ERR_PORT_SET 2106 Invalid port number
NET_ERR_MUTEX_FUNCTION 2108 Mutually exclusive function
NET_DVR_ERR_NOTSUPPORT_DEICING 3001 Device does not support deicing function under current status.(Deicing function is only supported under the power status of POE+, AC24V, and DC12V).


Error Code of RTSP Communication Library



Type of Error Value Error Message
NET_DVR_RTSP_ERROR_NOENOUGHPRI 401 Authentication failed: if server returns 401, it will change to this error code
NET_DVR_RTSP_ERROR_ALLOC_RESOURCE 402 Failed to allocate the resource
NET_DVR_RTSP_ERROR_PARAMETER 403 Parameter error
NET_DVR_RTSP_ERROR_NO_URL 404 The assigned URL does not exist: when the server returns 404, SDK turns to this error code. E.g. the channel is not available, or the channel does not support sub stream
NET_DVR_RTSP_ERROR_FORCE_STOP 406 The user forces to exit midway
NET_DVR_RTSP_GETPORTFAILED 407 RTSP port getting error.
NET_DVR_RTSP_DESCRIBERROR 410 RTSP DECRIBE communicate error
NET_DVR_RTSP_DESCRIBESENDTIMEOUT 411 Sending "RTSP DECRIBE" is timeout.
NET_DVR_RTSP_DESCRIBESENDERROR 412 Failed to send "RTSP DECRIBE".
NET_DVR_RTSP_DESCRIBERECVTIMEOUT 413 Receiving "RTSP DECRIBE" is timeout.
NET_DVR_RTSP_DESCRIBERECVDATALOST 414 Receiving data of "RTSP DECRIBE" error.
NET_DVR_RTSP_DESCRIBERECVERROR 415 Failed to receive "RTSP DECRIBE".
NET_DVR_RTSP_DESCRIBESERVERERR 416 "RTSP DECRIBE, the device returns the error code: 501 (failed to allocate the resource in the device)
NET_DVR_RTSP_SETUPERROR 420 (or 419), RTSP SETUP interaction error. Generally, it is that the address(URL) returned by the device is not accessible, or it is rejected by the server
NET_DVR_RTSP_SETUPSENDTIMEOUT 421 Sending "RTSP SETUP" is timeout.
NET_DVR_RTSP_SETUPSENDERROR 422 Sending "RTSP SETUP" error.
NET_DVR_RTSP_SETUPRECVTIMEOUT 423 Receiving "RTSP SETUP" is timeout.
NET_DVR_RTSP_SETUPRECVDATALOST 424 Receiving data of "RTSP SETUP" error.
NET_DVR_RTSP_SETUPRECVERROR 425 Failed to receive "RTSP SETUP".
NET_DVR_RTSP_OVER_MAX_CHAN 426 "RTSP SETUP" device returns the error that values 401 or 501. It exceeds the max connection number.
NET_DVR_RTSP_PLAYERROR 430 RTSP PLAY interaction error.
NET_DVR_RTSP_PLAYSENDTIMEOUT 431 Sending "RTSP PLAY" is timeout.
NET_DVR_RTSP_PLAYSENDERROR 432 Sending "RTSP PLAY" error.
NET_DVR_RTSP_PLAYRECVTIMEOUT 433 Receiving "RTSP PLAY" is timeout.
NET_DVR_RTSP_PLAYRECVDATALOST 434 Receiving data of "RTSP PLAY" error.
NET_DVR_RTSP_PLAYRECVERROR 435 Failed to receive "RTSP PLAY".
NET_DVR_RTSP_PLAYSERVERERR 436 "RTSP PLAY" device returns the error that values 401 or 501.
NET_DVR_RTSP_TEARDOWNERROR 440 RTSP TEARDOWN interaction error.
NET_DVR_RTSP_TEARDOWNSENDTIMEOUT 441 Sending "RTSP TEARDOWN" is timeout.
NET_DVR_RTSP_TEARDOWNSENDERROR 442 Sending "RTSP TEARDOWN" error.
NET_DVR_RTSP_TEARDOWNRECVTIMEOUT 443 Receiving "RTSP TEARDOWN" is timeout.
NET_DVR_RTSP_TEARDOWNRECVDATALOST 444 Receiving data of "RTSP TEARDOWN" error.
NET_DVR_RTSP_TEARDOWNRECVERROR 445 Failed to receive "RTSP TEARDOWN".
NET_DVR_RTSP_TEARDOWNSERVERERR 446 "RTSP TEARDOWN" device returns the error that values 401 or 501.

Error Code of Software Decoding Library




Type of Error Value Error Message
NET_PLAYM4_NOERROR 500 No error.
NET_PLAYM4_PARA_OVER 501 Input parameter is invalid.
NET_PLAYM4_ORDER_ERROR 502 API calling order error.
NET_PLAYM4_TIMER_ERROR 503 Failed to create multimedia clock.
NET_PLAYM4_DEC_VIDEO_ERROR 504 Failed to decode video data.
NET_PLAYM4_DEC_AUDIO_ERROR 505 Failed to decode audio data.
NET_PLAYM4_ALLOC_MEMORY_ERROR 506 Failed to allocate memory.
NET_PLAYM4_OPEN_FILE_ERROR 507 Failed to open the file.
NET_PLAYM4_CREATE_OBJ_ERROR 508 Failed to create thread event.
NET_PLAYM4_CREATE_DDRAW_ERROR 509 Failed to create DirectDraw object.
NET_PLAYM4_CREATE_OFFSCREEN_ERROR 510 Failed to create backstage cache for OFFSCREEN mode.
NET_PLAYM4_BUF_OVER 511 Buffer overflow, failed to input stream.
NET_PLAYM4_CREATE_SOUND_ERROR 512 Failed to create audio equipment.
NET_PLAYM4_SET_VOLUME_ERROR 513 Failed to set the volume.
NET_PLAYM4_SUPPORT_FILE_ONLY 514 This API can be called only for file playback mode.
NET_PLAYM4_SUPPORT_STREAM_ONLY 515 This API can be called only when playing stream.
NET_PLAYM4_SYS_NOT_SUPPORT 516 Not support by the system. Decoder can only work on the system above Pentium 3.
NET_PLAYM4_FILEHEADER_UNKNOWN 517 There is no file header.
NET_PLAYM4_VERSION_INCORRECT 518 The version mismatch between decoder and encoder.
NET_PLAYM4_INIT_DECODER_ERROR 519 Failed to initialize the decoder.
NET_PLAYM4_CHECK_FILE_ERROR 520 The file is too short, or the stream data is unknown.
NET_PLAYM4_INIT_TIMER_ERROR 521 Failed to initialize multimedia clock.
NET_PLAYM4_BLT_ERROR 522 BLT failure.
NET_PLAYM4_UPDATE_ERROR 523 Failed to update overlay surface
NET_PLAYM4_OPEN_FILE_ERROR_MULTI 524 Failed to open video & audio stream file.
NET_PLAYM4_OPEN_FILE_ERROR_VIDEO 525 Failed to open video stream file.
NET_PLAYM4_JPEG_COMPRESS_ERROR 526 JPEG compression error.
NET_PLAYM4_EXTRACT_NOT_SUPPORT 527 Don't support the version of this file.
NET_PLAYM4_EXTRACT_DATA_ERROR 528 Extract video data failed.

Error Code of Transcode Library



Type of Error Value Error Message
NET_CONVERT_ERROR_NOT_SUPPORT 581 Type not supported

Error Code of Two-way Audio Library



Type of Error Value Error Message
NET_AUDIOINTERCOM_OK 600 No error.
NET_AUDIOINTECOM_ERR_NOTSUPORT 601 Not support.
NET_AUDIOINTECOM_ERR_ALLOC_MEMERY 602 Memory allocation error.
NET_AUDIOINTECOM_ERR_PARAMETER 603 Parameter error.
NET_AUDIOINTECOM_ERR_CALL_ORDER 604 API calling order error.
NET_AUDIOINTECOM_ERR_FIND_DEVICE 605 No audio device
NET_AUDIOINTECOM_ERR_OPEN_DEVICE 606 Failed to open the audio device
NET_AUDIOINTECOM_ERR_NO_CONTEXT 607 Context error.
NET_AUDIOINTECOM_ERR_NO_WAVFILE 608 WAV file error.
NET_AUDIOINTECOM_ERR_INVALID_TYPE 609 The type of WAV parameter is invalid
NET_AUDIOINTECOM_ERR_ENCODE_FAIL 610 Failed to encode data
NET_AUDIOINTECOM_ERR_DECODE_FAIL 611 Failed to decode data
NET_AUDIOINTECOM_ERR_NO_PLAYBACK 612 Failed to play audio
NET_AUDIOINTECOM_ERR_DENOISE_FAIL 613 Failed to denoise
NET_AUDIOINTECOM_ERR_UNKOWN 619 Unknown

Error Code of Qos Stream Control Library



Type of Error Value Error Message
NET_QOS_ERR_SCHEDPARAMS_BAD_MINIMUM_INTERVAL 678 Scheduled parameter of minimum interval is bad .
NET_QOS_ERR_SCHEDPARAMS_BAD_FRACTION 679 Scheduled parameter of fraction is bad.
NET_QOS_ERR_SCHEDPARAMS_INVALID_BANDWIDTH 680 Scheduled parameter of bandwidth is not invalid.
NET_QOS_ERR_PACKET_TOO_BIG 687 Packet too big.
NET_QOS_ERR_PACKET_LENGTH 688 Packet length error.
NET_QOS_ERR_PACKET_VERSION 689 Packet version error.
NET_QOS_ERR_PACKET_UNKNOW 690 Packet unknow.
NET_QOS_ERR_OUTOFMEM 695 Out of memory.
NET_QOS_ERR_LIB_NOT_INITIALIZED 696 Lib not initialized.
NET_QOS_ERR_SESSION_NOT_FOUND 697 Session not found.
NET_QOS_ERR_INVALID_ARGUMENTS 698 Invalid arguments.
NET_QOS_ERROR 699 Qos error.
NET_QOS_OK 700 No error.

Remarks

The error code 410, 420, 430 and 440 of RTSP communication library are usually caused by network reasons.

Get error code information through NET_DVR_GetErrorMsg.

See Also

NET_DVR_GetErrorMsg