海康威视SDK错误码

public static final int NET_DVR_NOERROR = 0; //没有错误
public static final int NET_DVR_PASSWORD_ERROR = 1; //用户名密码错误
public static final int NET_DVR_NOENOUGHPRI = 2;//权限不足
public static final int NET_DVR_NOINIT = 3;//没有初始化
public static final int NET_DVR_CHANNEL_ERROR = 4; //通道号错误
public static final int NET_DVR_OVER_MAXLINK = 5; //连接到DVR的客户端个数超过最大
public static final int NET_DVR_VERSIONNOMATCH = 6; //版本不匹配
public static final int NET_DVR_NETWORK_FAIL_CONNECT = 7;//连接服务器失败
public static final int NET_DVR_NETWORK_SEND_ERROR = 8; //向服务器发送失败
public static final int NET_DVR_NETWORK_RECV_ERROR = 9; //从服务器接收数据失败
public static final int NET_DVR_NETWORK_RECV_TIMEOUT = 10; //从服务器接收数据超时
public static final int NET_DVR_NETWORK_ERRORDATA = 11; //传送的数据有误
public static final int NET_DVR_ORDER_ERROR = 12; //调用次序错误
public static final int NET_DVR_OPERNOPERMIT = 13; //无此权限
public static final int NET_DVR_COMMANDTIMEOUT = 14; //DVR命令执行超时
public static final int NET_DVR_ERRORSERIALPORT = 15; //串口号错误
public static final int NET_DVR_ERRORALARMPORT = 16; //报警端口错误
public static final int NET_DVR_PARAMETER_ERROR = 17;//参数错误
public static final int NET_DVR_CHAN_EXCEPTION = 18; //服务器通道处于错误状态
public static final int NET_DVR_NODISK = 19; //没有硬盘
public static final int NET_DVR_ERRORDISKNUM = 20; //硬盘号错误
public static final int NET_DVR_DISK_FULL = 21; //服务器硬盘满
public static final int NET_DVR_DISK_ERROR = 22;//服务器硬盘出错
public static final int NET_DVR_NOSUPPORT = 23;//服务器不支持
public static final int NET_DVR_BUSY = 24;//服务器忙
public static final int NET_DVR_MODIFY_FAIL = 25;//服务器修改不成功
public static final int NET_DVR_PASSWORD_FORMAT_ERROR = 26;//密码输入格式不正确
public static final int NET_DVR_DISK_FORMATING = 27; //硬盘正在格式化,不能启动操作
public static final int NET_DVR_DVRNORESOURCE = 28; //DVR资源不足
public static final int NET_DVR_DVROPRATEFAILED = 29; //DVR操作失败
public static final int NET_DVR_OPENHOSTSOUND_FAIL = 30; //打开PC声音失败
public static final int NET_DVR_DVRVOICEOPENED = 31; //服务器语音对讲被占用
public static final int NET_DVR_TIMEINPUTERROR = 32; //时间输入不正确
public static final int NET_DVR_NOSPECFILE = 33; //回放时服务器没有指定的文件
public static final int NET_DVR_CREATEFILE_ERROR = 34; //创建文件出错
public static final int NET_DVR_FILEOPENFAIL = 35; //打开文件出错
public static final int NET_DVR_OPERNOTFINISH = 36; //上次的操作还没有完成
public static final int NET_DVR_GETPLAYTIMEFAIL = 37; //获取当前播放的时间出错
public static final int NET_DVR_PLAYFAIL = 38; //播放出错
public static final int NET_DVR_FILEFORMAT_ERROR = 39;//文件格式不正确
public static final int NET_DVR_DIR_ERROR = 40; //路径错误
public static final int NET_DVR_ALLOC_RESOURCE_ERROR = 41;//资源分配错误
public static final int NET_DVR_AUDIO_MODE_ERROR = 42; //声卡模式错误
public static final int NET_DVR_NOENOUGH_BUF = 43; //缓冲区太小
public static final int NET_DVR_CREATESOCKET_ERROR = 44; //创建SOCKET出错
public static final int NET_DVR_SETSOCKET_ERROR = 45; //设置SOCKET出错
public static final int NET_DVR_MAX_NUM = 46; //个数达到最大
public static final int NET_DVR_USERNOTEXIST = 47; //用户不存在
public static final int NET_DVR_WRITEFLASHERROR = 48;//写FLASH出错
public static final int NET_DVR_UPGRADEFAIL = 49;//DVR升级失败
public static final int NET_DVR_CARDHAVEINIT = 50; //解码卡已经初始化过
public static final int NET_DVR_PLAYERFAILED = 51; //调用播放库中某个函数失败
public static final int NET_DVR_MAX_USERNUM = 52; //设备端用户数达到最大
public static final int NET_DVR_GETLOCALIPANDMACFAIL = 53;//获得客户端的IP地址或物理地址失败
public static final int NET_DVR_NOENCODEING = 54; //该通道没有编码
public static final int NET_DVR_IPMISMATCH = 55; //IP地址不匹配
public static final int NET_DVR_MACMISMATCH = 56;//MAC地址不匹配
public static final int NET_DVR_UPGRADELANGMISMATCH = 57;//升级文件语言不匹配
public static final int NET_DVR_MAX_PLAYERPORT = 58;//播放器路数达到最大
public static final int NET_DVR_NOSPACEBACKUP = 59;//备份设备中没有足够空间进行备份
public static final int NET_DVR_NODEVICEBACKUP = 60; //没有找到指定的备份设备
public static final int NET_DVR_PICTURE_BITS_ERROR = 61; //图像素位数不符,限24色
public static final int NET_DVR_PICTURE_DIMENSION_ERROR = 62;//图片高宽超限, 限128256
public static final int NET_DVR_PICTURE_SIZ_ERROR = 63; //图片大小超限,限100K
public static final int NET_DVR_LOADPLAYERSDKFAILED = 64; //载入当前目录下Player Sdk出错
public static final int NET_DVR_LOADPLAYERSDKPROC_ERROR = 65; //找不到Player Sdk中某个函数入口
public static final int NET_DVR_LOADDSSDKFAILED = 66; //载入当前目录下DSsdk出错
public static final int NET_DVR_LOADDSSDKPROC_ERROR = 67; //找不到DsSdk中某个函数入口
public static final int NET_DVR_DSSDK_ERROR = 68; //调用硬解码库DsSdk中某个函数失败
public static final int NET_DVR_VOICEMONOPOLIZE = 69; //声卡被独占
public static final int NET_DVR_JOINMULTICASTFAILED = 70; //加入多播组失败
public static final int NET_DVR_CREATEDIR_ERROR = 71; //建立日志文件目录失败
public static final int NET_DVR_BINDSOCKET_ERROR = 72; //绑定套接字失败
public static final int NET_DVR_SOCKETCLOSE_ERROR = 73; //socket连接中断,此错误通常是由于连接中断或目的地不可达
public static final int NET_DVR_USERID_ISUSING = 74; //注销时用户ID正在进行某操作
public static final int NET_DVR_SOCKETLISTEN_ERROR = 75; //监听失败
public static final int NET_DVR_PROGRAM_EXCEPTION = 76; //程序异常
public static final int NET_DVR_WRITEFILE_FAILED = 77; //写文件失败
public static final int NET_DVR_FORMAT_READONLY = 78;//禁止格式化只读硬盘
public static final int NET_DVR_WITHSAMEUSERNAME = 79;//用户配置结构中存在相同的用户名
public static final int NET_DVR_DEVICETYPE_ERROR = 80; /导入参数时设备型号不匹配/
public static final int NET_DVR_LANGUAGE_ERROR = 81; /导入参数时语言不匹配/
public static final int NET_DVR_PARAVERSION_ERROR = 82; /导入参数时软件版本不匹配/
public static final int NET_DVR_IPCHAN_NOTALIVE = 83; /预览时外接IP通道不在线/
public static final int NET_DVR_RTSP_SDK_ERROR = 84; /加载高清IPC通讯库StreamTransClient.dll失败/
public static final int NET_DVR_CONVERT_SDK_ERROR = 85; /加载转码库失败/
public static final int NET_DVR_IPC_COUNT_OVERFLOW = 86; /超出最大的ip接入通道数/
public static final int NET_PLAYM4_NOERROR = 500; //no error
public static final int NET_PLAYM4_PARA_OVER = 501;//input parameter is invalid;
public static final int NET_PLAYM4_ORDER_ERROR = 502;//The order of the function to be called is error.
public static final int NET_PLAYM4_TIMER_ERROR = 503;//Create multimedia clock failed;
public static final int NET_PLAYM4_DEC_VIDEO_ERROR = 504;//Decode video data failed.
public static final int NET_PLAYM4_DEC_AUDIO_ERROR = 505;//Decode audio data failed.
public static final int NET_PLAYM4_ALLOC_MEMORY_ERROR = 506; //Allocate memory failed.
public static final int NET_PLAYM4_OPEN_FILE_ERROR = 507; //Open the file failed.
public static final int NET_PLAYM4_CREATE_OBJ_ERROR = 508;//Create thread or event failed
public static final int NET_PLAYM4_CREATE_DDRAW_ERROR = 509;//Create DirectDraw object failed.
public static final int NET_PLAYM4_CREATE_OFFSCREEN_ERROR = 510;//failed when creating off-screen surface.
public static final int NET_PLAYM4_BUF_OVER = 511; //buffer is overflow
public static final int NET_PLAYM4_CREATE_SOUND_ERROR = 512; //failed when creating audio device.
public static final int NET_PLAYM4_SET_VOLUME_ERROR = 513;//Set volume failed
public static final int NET_PLAYM4_SUPPORT_FILE_ONLY = 514;//The function only support play file.
public static final int NET_PLAYM4_SUPPORT_STREAM_ONLY = 515;//The function only support play stream.
public static final int NET_PLAYM4_SYS_NOT_SUPPORT = 516;//System not support.
public static final int NET_PLAYM4_FILEHEADER_UNKNOWN = 517; //No file header.
public static final int NET_PLAYM4_VERSION_INCORRECT = 518; //The version of decoder and encoder is not adapted.
public static final int NET_PALYM4_INIT_DECODER_ERROR = 519; //Initialize decoder failed.
public static final int NET_PLAYM4_CHECK_FILE_ERROR = 520; //The file data is unknown.
public static final int NET_PLAYM4_INIT_TIMER_ERROR = 521; //Initialize multimedia clock failed.
public static final int NET_PLAYM4_BLT_ERROR = 522;//Blt failed.
public static final int NET_PLAYM4_UPDATE_ERROR = 523;//Update failed.
public static final int NET_PLAYM4_OPEN_FILE_ERROR_MULTI = 524; //openfile error, streamtype is multi
public static final int NET_PLAYM4_OPEN_FILE_ERROR_VIDEO = 525; //openfile error, streamtype is video
public static final int NET_PLAYM4_JPEG_COMPRESS_ERROR = 526; //JPEG compress error
public static final int NET_PLAYM4_EXTRACT_NOT_SUPPORT = 527; //Don’t support the version of this file.
public static final int NET_PLAYM4_EXTRACT_DATA_ERROR = 528; //extract video data failed.
/全局错误码 end***/

原文链接:https://blog.csdn.net/simplyou/article/details/120491609

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
错误类型 错误值 错误信息 NET_DVR_NOERROR 0 没有错误。 NET_DVR_PASSWORD_ERROR 1 用户名密码错误。注册时输入的用户名或者密码错误。 NET_DVR_NOENOUGHPRI 2 权限不足。一般和通道相关,例如有预览通道1权限,无预览通道2权限,即有预览权限但不完全,预览通道2返回此错误。 NET_DVR_NOINIT 3 SDK未初始化。 NET_DVR_CHANNEL_ERROR 4 通道号错误。设备没有对应的通道号。 NET_DVR_OVER_MAXLINK 5 设备总的连接数超过最大。 NET_DVR_VERSIONNOMATCH 6 版本不匹配。SDK和设备的版本不匹配。 NET_DVR_NETWORK_FAIL_CONNECT 7 连接设备失败。设备不在线或网络原因引起的连接超时等。 NET_DVR_NETWORK_SEND_ERROR 8 向设备发送失败。 NET_DVR_NETWORK_RECV_ERROR 9 从设备接收数据失败。 NET_DVR_NETWORK_RECV_TIMEOUT 10 从设备接收数据超时。 NET_DVR_NETWORK_ERRORDATA 11 传送的数据有误。发送给设备或者从设备接收到的数据错误,如远程参数配置时输入设备不支持的值。 NET_DVR_ORDER_ERROR 12 调用次序错误。 NET_DVR_OPERNOPERMIT 13 无此权限。用户对某个功能模块的权限,例如无预览权限用户预览返回此错误。 NET_DVR_COMMANDTIMEOUT 14 设备命令执行超时。 NET_DVR_ERRORSERIALPORT 15 串口号错误。指定的设备串口号不存在。 NET_DVR_ERRORALARMPORT 16 报警端口错误。指定的设备报警输入或者输出端口不存在。 NET_DVR_PARAMETER_ERROR 17 参数错误。SDK接口中给入的输入或输出参数为空,或者参数格式或值不符合要求。 NET_DVR_CHAN_EXCEPTION 18 设备通道处于错误状态 NET_DVR_NODISK 19 设备无硬盘。当设备无硬盘时,对设备的录像文件、硬盘配置等操作失败。 NET_DVR_ERRORDISKNUM 20 硬盘号错误。当对设备进行硬盘管理操作时,指定的硬盘号不存在时返回该错误。 NET_DVR_DISK_FULL 21 设备硬盘满。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值