设备网络SDK开发使用手册


<?xml version="1.0" encoding="utf-8"?>
<!--req, 数字通道能力集描述-->
<DynChannelAbility version="2.0">
  <channelNO>1</channelNO><!--req, 通道号-->
  <chanNICConfig><!--opt, 自动添加设备能力,不支持表示仅是手动添加设备-->
    <NICSelect>true</NICSelect><!--opt, 是否支持网卡选择-->
    <NICType opt="eth0,poe0"/><!--opt, 网卡类型-->
  </chanNICConfig>

  <!--req, 升级IPC能力-->
  <IPCUpgradeAbility version="2.0">
    <supportChannelMode>true</supportChannelMode> <!--req,是否支持通道模式-->
    <supportStreamIDMode>true</supportStreamIDMode> <!--req, 是否支持流ID模式-->
  </IPCUpgradeAbility>

  <ChannelRecordStatus>
    <!--req, 通道录像状态,对应NET_DVR_CHAN_GROUP_RECORD_STATUS-->
    <recordStatus opt="0,1,2,3,4,5,6,7,8,9,10,11"/>
    <!--req,录像状态:0-不在录像,1-在录像,2-空闲,3-无连接,4-无输入视频,5-未加载,6-存档中
    7-回传中,8-用户名或密码错,9-未验证,10-存档中和录像中,11-录像回传中和录像中-->
    <supportValid>true</supportValid ><!--req,是否有效,不支持不显示-->
    <supportChannel>true</supportChannel><!--req,通道号,不支持不显示-->
    <supportRelatedHD>true</supportRelatedHD><!--req,关联磁盘,不支持不显示-->
    <supportOffLineRecord>true</supportOffLineRecord><!--req,断网录像,不支持不显示-->
    <ANRCfgReconnect>true</ANRCfgReconnect><!--opt, IPC ANR功能配置后设备是否需要重连-->
  </ChannelRecordStatus >

  <!--req, 检查数字通道状态-->
  <DigitalChanState>
    <supportCheck>true</supportCheck><!--opt,是否支持检查,不支持不显示-->
  </DigitalChanState>

</DynChannelAbility>