get-caps 接口

不同型号的设备规格有差异,调用此接口可以获取当前连接的设备规格。

请求方式

GET http://ip/mwapi?method=get-caps
参数 说明
method 方法名称:get-caps

返回数据

{
  "status": 0,
  "max-input-width": 1920,
  "max-input-height": 1080,
  "max-output-width": 4096,
  "max-output-height": 2160,
  "has-input": false,
  "has-output": true,
  "has-loop-through": false,
  "has-fan": false,
  "has-input-edid": false,
  "has-output-edid": true,
  "has-sdcard": true,
  "has-ptz": false,
  "has-ndi": true,
  "has-alpha-disp-mode": true
}
属性 说明
status 0:数据获取成功。返回其它值请参考 API 状态码
max-input-width 显示输入信号水平方向的总像素数。
max-input-height 显示输入信号垂直方向的总行数。
max-output-width 设备输出信号水平方向的总像素数。
max-output-height 显示输出信号垂直方向的总行数。
has-input 设备是否有输入接口,有效值:true/false。
has-output 设备是否有输出接口,有效值:true/false。
has-loop-through 设备是否支持环出,有效值:true/false。
has-fan 设备是否有风扇,有效值:true/false。
has-sdcard 设备是否支持 SD 卡功能,有效值:true/false。
has-ptz 设备是否支持 PTZ 功能,有效值:true/false。
has-input-edid 设备是否支持输入端口 EDID,有效值:true/false。
has-output-edid 设备是否支持输出端口 EDID,有效值:true/false。
has-ndi 设备数据源是否支持 NDI 源,有效值:true/false。
has-alpha-disp-mode 设备视频处理是否支持 Alpha 通道,有效值:true/false。

与“”相关结果约

    找不到与“”相关的结果

    与“”相关结果约

      找不到与“”相关的结果