海康威视sdk错误码大全

技术交流QQ群933925017

/全局错误码 begin***/
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***/

你可能感兴趣的:(IT,linux)