设备网络SDK开发使用手册 |
<?xml version="1.0" encoding="utf-8"?>
<!--req, 设备通道输入能力集描述 --> <ChannelInputAbility version="2.0"> <channelNO>1</channelNO> <!--req,通道号--> <RecordPlan> <supportRecordType opt="CMR,MOTION,ALARM,EDR,ALARMANDMOTION,command,INTELLIGENT,pir,wlsensor, callhelp,AllEvent,intelligentTraffic,LineDetection,FieldDetection,AudioDetection, scenechangedetection,smartDetection,facedetection,POS,regionEntrance,regionExiting, loitering,group,rapidMove,parking,unattendedBaggage,attendedBaggage,fireDetection, shipsDetection,thermEarlyWarning,thermAlarm,thermDiffAlarm,thermometryOffLineAlarm, alarmInAlarm,emergencyCallhelpAlarm,consultAlarm,vcaEventGetUp,vcaEventAdvReachHeight, vcaEventToiletTarry"/> <!--req, CMR-定时, MOTION-移动侦测, ALARM-报警, EDR- 报警|移动侦测, ALARMANDMOTION- 报警&移动侦测, command-命令触发, INTELLIGENT-智能报警, pir-PIR, wlsensor-无线报警, callhelp-呼救报警, AllEvent-全部事件(移动侦测、PIR、无线、呼救等所有报警类型的"或"), intelligentTraffic-智能交通事件, LineDetection-越界侦测, FieldDetection-区域入侵侦测, AudioDetection-音频异常侦测, scenechangedetection-场景变更侦测, smartDetection-智能侦测(越界侦测|区域入侵侦测|进入区域侦测|离开区域侦测|人脸侦测), facedetection-人脸侦测, POS-POS录像, regionEntrance-进入区域侦测, regionExiting-离开区域侦测, loitering-徘徊侦测, group-人员聚集侦测, rapidMove-快速运动侦测, parking-停车侦测, unattendedBaggage-物品遗留侦测, attendedBaggage-物品拿取侦测, fireDetection-火点检测, shipsDetection-船只检测, thermEarlyWarning-测温预警, thermAlarm-测温报警, thermDiffAlarm-温差报警, thermometryOffLineAlarm-离线测温报警, alarmInAlarm-防区报警, emergencyCallhelpAlarm-紧急求助, consultAlarm-业务咨询, vcaEventGetUp-起身检测, vcaEventAdvReachHeight-折线攀高, vcaEventToiletTarry-如厕超时--> <!--req, 反馈该节点的情况下, 返回设备支持的录像, 不返回的情况下, 是否支持全部事件录像根据录像能力中的allAlarmTypeRecord字段, 是否支持智能侦测或专业智能录像,根据RecordSchedule的individuallyRecordType字段处理--> <allDayRecord opt="disable,enable"/> <supportDay>7</supportDay> <supportSched>8</supportSched> <recordTime opt="0-5s,1-10s,2-30s,3-1min,4-2min,5-5min,6-10min"/> <preRecorderTime opt="0-disable,1-5s,2-10s,3-15s,4-20s,5-25s,6-30s,7-0xffffffff"/> <recorderDuration max="" unit="day"/> <redundancyRec opt="disable,enable"/> <audioRec opt="disable,enable"/> <streamType opt="main,sub,third"/> <passbackRecord opt="disable,enable"/> <lockDuration max="" unit="hour"/> <recordBackup opt="disable,enable"/> <svcLevel opt="disable,0.5,0.75"/> <recordManage opt="disable,enable"/> </RecordPlan> <RecordQuery> <!--req,录像查询能力--> <supportRecordType opt="CMR, MOTION, ALARM, EDR, ALARMANDMOTION,command,manual, INTELLIGENT, pir,wlsensor, callhelp,AllEvent, intelligentTraffic,LineDetection,FieldDetection,AudioDetection, scenechangedetection,smartDetection,facedetection,POS,regionEntrance,regionExiting, loitering,group,rapidMove,parking,unattendedBaggage,attendedBaggage,fireDetection, shipsDetection,thermEarlyWarning,thermAlarm,thermDiffAlarm,alarmInAlarm,emergencyCallhelpAlarm,consultAlarm,thermometryOffLineAlarm, vcaEventGetUp,vcaEventAdvReachHeight,vcaEventToiletTarry,allType"/> <isSupportMainStreamSearch> <!--opt, xs:boolean, 是否支持主码流搜索(不管设备端是否有其他码流类型录像,只搜索返回主码流录像),对应录像查找byStreamType为3的情况--> </isSupportMainStreamSearch> </RecordQuery> <CameraInterface> <cameraInterfaceEnable opt="true,false"/> <!--req,是否支持设置,true-支持设置,false-不支持设置--> <cameraInterfaceType opt="VGA,HDMI,YPbPr,SDI,FC"/> </CameraInterface> <WD1Enable opt="true,false"/> <!--req,true-支持,false-不支持--> <recordPlanAbility opt="substream,passback,lockduration,recordbackup,recordManage"/> <!--req 录像计划能力,对应结构体NET_DVR_RECORD_V30只增加CVR新增的能力,默认其他均支持,CVR2.2.0和Netra3.0.0--> <VCAFindFile> <!--req, 是否支持智能事件查找,不支持不显示--> <enabled>true</enabled > <supportQuickSearch opt="true,false"/> <!--opt是否支持快速检索,不支持不返回--> <supportArchivedVolumeLabelSearch opt="true,false"/> <!--opt是否支持按存档卷检索,不支持不返回--> </VCAFindFile> <!--对新设备需要既返回recordPlanAbility节点又要返回recordStreamType,recordBackup,LockDuration,recordArchive节点。 客户端优先解析recordStreamType,如果解析到该节点则继续析recordBackup,LockDuration,recordArchive节点, 如果解析不到则解析recordPlanAbility节点--> <recordStreamType opt="0-mainstream,1-substream,2-main_and_sub,3-stream3,4-stream4,5-stream5"/> <!--req,0-主码流,1-子码流,2-主码流&子码流,3-3码流--> <recordBackup>true</recordBackup > <!--req,支持录像回传--> <LockDuration> <!--req,支持录像锁定--> <enabled>true</enabled> </LockDuration> <recordArchive>true</recordArchive> <!--req,支持录像存档--> <RecordSchedule> <!--req,录像计划--> <individuallyRecordType opt="smartDetection, intelligentRecord" /> <!--opt,支持单独配置的录像计划类型,仅对智能侦测、智能录像有效,其余的录像类型可用通用项13进行统一配置。 smartDetection-智能侦测, intelligentRecord-智能录像 --> <supportRecordType opt="scheduled,motion,alarm,motionOrAlarm,motionAndAlarm,command,intelligentRecord,PIR, wireless,callingForHelp,AllEvent,intelligentTraffic,overLineDetection,fieldDetection, audioException,sceneChange,smartDetection,faceDetection,POS"/> <!--req,反馈该节点的情况下,返回设备支持的录像,不返回的情况下,是否支持全部事件录像根据录像能力中的allAlarmTypeRecord字段, 是否支持智能侦测或专业智能录像,根据上面的individuallyRecordType字段处理--> </RecordSchedule> <PreviewDelayConfig> <!--req,延时预览参数配置--> <time min="" max=""/> <!--req,预览延时时间--> </PreviewDelayConfig> <AreaMask> <!--req,区域马赛克配置--> <enable opt="true,false"/> <!--req,是否支持区域马赛克配置,true-支持设置,false-不支持设置--> <maskThick opt="8*8,16*16,32*32" default="16*16"/> <!--req,马赛克厚度,薄码的区块大小为8*8,中码16*16,厚码32*32,默认为中码--> <areaPointNum min="4" max="4"/> <!--req 支持马赛克区域点个数--> <xRange min="0" max="1000"/> <!--req xs:integer 起始x坐标范围--> <yRange min="0" max="1000"/> <!--req xs:integer 起始y坐标范围--> <widthRange min="1" max="500"/> <!--req xs:integer 宽度范围--> <HeightRange min="1" max="500"/> <!--req xs:integer 高度范围--> </AreaMask> <AudioDiacritical> <!--req 音频变音配置--> <enable opt="true,false"/> <!--req,是否支持音频变音配置 true-支持设置,false-不支持设置--> <bassValue min="0" max="100" default="50"/> <!--req,支持高低音处理,越大声音越细,反之声音越粗,50-表示不变音--> </AudioDiacritical> <WDR> <!--req 宽动态--> <enabled opt="true,false"/> <WDRLevel1 min="0" max="2"/> <!--req 宽动态等级1--> <WDRLevel2 min="0" max="2"/> <!--req 宽动态等级2--> </WDR> <chanWorkMode opt="DVRmode,IPCMode"/> <!--req,通道工作模式,主要针对的是设备的IP通道,支持前端工作模式及后端模式--> <CorridorMode> <supportCorridorMode opt="true,false"/> <!--req,是否支持走廊模式,不支持不返回--> <mirror opt="close,LeftRigh,UpDown,center"/> <!--req,设备支持的镜像方式,0-关闭,1-左右,2-上下,3-中间--> </CorridorMode> <EventSearchType> <!--opt,支持的报警事件类型 --> <majorType opt="motion,alarmIn,vacBehavior,inquest,vcaDetect,pos,trialCase,streamID"> <!-- opt , xs:string 支持的主类型:motion-移动侦测,alarmIn-报警输入,vacBehavior-行为分析,inquest-审讯事件,vcaDetect-智能侦测,pos-Pos录像,trialCase-庭审案件,streamID-流ID事件 --> </majorType> <VcaBehavior> <!--dep,行为分析--> <type opt="traversePlane,enterArea,exitArea,intrusion,loitering,bagLeftTake,parking,run,highDensity,stickUp,installScanner,operateOverTime,faceDetect,bagLeft,bagTake,leavePostion,trailInfo,humanEnter,fallDownInfo,objectPaste,faceCaptureInfo,multlFacesInfo,audioAbnormalInfo,sunglassesFaceInfo,callingFaceInfo,violentMotion,safetyHelmet"> <!-- opt , xs:string 支持的类型:依次为 穿越警戒面、目标进入区域、目标离开区域、周界入侵、徘徊、丢包捡包、停车、奔跑、区域内人员密度、贴纸条、安装读卡器、操作超时、异常人脸、物品遗留、物品拿取、离岗事件、尾随、人员进入、倒地、异物粘贴区域、正常人脸、多张人脸、声强突变、戴墨镜人脸、打电话人脸、剧烈运动、安全帽检测 --> </type> </VcaBehavior> <Inquest> <!--dep,审讯事件 --> <type opt="inquestStartInfo,inquestStopInfo,inquestTagInfo,inquestSegmentInfo"> <!-- opt , xs:string 支持的类型:依次为 审讯开始信息、审讯停止信息、重点标记信息、审讯片断状态信息 --> </type> </Inquest> <VcaDetect> <!--dep,智能侦测 --> <type opt="traversePlane,fieldDetection,audioInput,soundIntensity,faceDetection,virtualFocus,sceneChange,pir,enterArea,exitArea,loitering,groupDetection,rapidMove,parking,unattendedBaggage,attendedBaggage,vehicleDetection"> <!-- opt , xs:string 支持的类型:依次为 越界侦测、区域入侵侦测、音频丢失侦测、声强突变侦测、人脸侦测、虚焦侦测、场景变更侦测、PIR报警、进入区域、目标离开区域、徘徊、区域内人员聚集、快速移动、停车、物品遗留、物品拿取、车辆检测 --> </type> </VcaDetect> <TrialCase> <!--dep,庭审案件 --> <type opt="trialStartInfo,trialStopInfo,trialTagInfo,trialSegmentInfo,judgeCaseInfo"> <!-- opt , xs:string 支持的类型:依次为 庭审开始信息、庭审停止信息、庭审重点标记信息、庭审片断状态信息、庭审案件信息 --> </type> </TrialCase> <StreamID> <!--dep,流ID事件--> <type opt="streamID,timing,motion,alarm,alarmOrMotion,alarmAndMotion,commandTrigger,manual,backupVolume,semaphore,hide,inverse,videoLoss,wireless,pir,callHelp,faceSnap,faceDetection,ITSPlate,PDC,sceneChange,defocus,audioException,traversePlane,intrusion,enterArea,exitArea,loitering,highDensity,run,parking,bagLeft,bagTake"> <!-- opt , xs:string 支持的类型:依次为 流ID、定时录像、移动侦测、报警录像、报警或移动侦测、报警和移动侦测、命令触发、手动录像、存档卷录像、信号量、遮挡、逆行、视频丢失、无线报警、PIR报警、呼救报警、人脸抓拍、人脸侦测、车辆检测、客流量统计、场景变更、虚焦侦测、音频异常、穿越警戒面、周界入侵、进入区域、离开区域、徘徊侦测、人员聚集、快速移动、非法停车、物品遗留、物品拿取 --> </type> </StreamID> </EventSearchType> </ChannelInputAbility> |