获取输入源列表
GET
/api/v1/device/input/sources
All
提示
请求参数
Header 参数
Device-Key
string
可选
默认值:
10.40.41.200:8001
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com:8001/api/v1/device/input/sources' \
--header 'Device-Key: 10.40.41.200:8001'
返回响应
🟢200成功
application/json
Body
id
integer
源ID
cardId
integer
子卡ID
type
integer
输入口的类型
name
string
输入源名称
order
integer
源顺序(仅内部使用)
step
integer
步进(仅内部使用)
supportFrameRate
string
支持的所有刷新率(仅内部使用)
supportResolution
string
支持的所有分辨率(仅内部使用)
maxwidth
integer
支持的最大分辨率宽(仅内部使用)
maxheight
integer
支持的最大分辨率高(仅内部使用)
minwidth
integer
支持的最小分辨率宽(仅内部使用)
minheight
integer
支持的最小分辨率高(仅内部使用)
actualResolution
object
实际的分辨率
height
integer
宽
width
integer
高
actualRefreshRate
number
实际的刷新率
bitDepth
integer
输入源输入位深(仅内部使用)
colorSpace
string
视频格式(仅内部使用)
dynamicRange
string
动态范围(仅内部使用)
gamut
string
色域(仅内部使用)
range
integer
0x00:limit 0x01:full
scanMode
integer
0x00:progressive scanning 0x01:Interlace Scanning
inPhase
boolean
是否同相位(仅内部使用)
defaultEDID
object
默认分辨率
resolution
object
分辨率
refreshRate
number
刷新率
isCustom
boolean
默认edid配置中是否为自定义
usable
boolean
接口使用状态(仅内部使用)
groupId
integer
源的groupID
isSupportHDR
boolean
是否支持HDR
isSupportMetaData
boolean
是否支持MetaData
isSupportEDID
boolean
是否支持EDID设置
isSupportInputOverride
boolean
是否支持输入源覆写
isSupportColorAdjust
string
是否支持颜色调节
sourceChannel
integer
源序号(子卡内唯一,回显业务,(仅内部使用))
metaData
object
MetaData(仅内部使用)
minMasterDisplayLight
number
主监视器最小亮度
maxMasterDisplayLight
number
主监视器最大亮度
maxContentLight
number
内容最大亮度
maxFrameAvgLight
number
内容最大帧均亮度
whitePointX
number
白点坐标X
whitePointY
number
白点坐标Y
hDRParams
object
HDRParams(仅内部使用)
overrideHdrType
integer
当前mode
pqMode
integer
Pq模式
pqMaxCllChecked
boolean
Maxcll是否覆写
pqMaxCll
integer
Maxcll值
realHdrType
integer
真实模式
isSupportHDRParams
boolean
是否支持HDR10参数
isSupportPQMaxCllChecked
boolean
是否支持HDR10覆写
hdrList
array[integer]
HDR列表
isEdidCustom
boolean
是否为自定义EDID
sourceStatus
integer
源的link状态
示例
{
"id": 0,
"cardId": 0,
"type": 0,
"name": "string",
"order": 0,
"step": 0,
"supportFrameRate": "string",
"supportResolution": "string",
"maxwidth": 0,
"maxheight": 0,
"minwidth": 0,
"minheight": 0,
"actualResolution": {
"height": 0,
"width": 0
},
"actualRefreshRate": 0,
"bitDepth": 0,
"colorSpace": "string",
"dynamicRange": "string",
"gamut": "string",
"range": 0,
"scanMode": 0,
"inPhase": true,
"defaultEDID": {
"resolution": {
"width": 0,
"height": 0
},
"refreshRate": 0,
"isCustom": true
},
"usable": true,
"groupId": 0,
"isSupportHDR": true,
"isSupportMetaData": true,
"isSupportEDID": true,
"isSupportInputOverride": true,
"isSupportColorAdjust": "string",
"sourceChannel": 0,
"metaData": {
"minMasterDisplayLight": 0,
"maxMasterDisplayLight": 0,
"maxContentLight": 0,
"maxFrameAvgLight": 0,
"whitePointX": 0,
"whitePointY": 0
},
"hDRParams": {
"overrideHdrType": 0,
"pqMode": 0,
"pqMaxCllChecked": true,
"pqMaxCll": 0,
"realHdrType": 0
},
"isSupportHDRParams": true,
"isSupportPQMaxCllChecked": true,
"hdrList": [
0
],
"isEdidCustom": true,
"sourceStatus": 0
}
修改于 2024-06-26 06:52:39