配置和获取设备输出分辨率
# 配置和获取设备输出分辨率
# 配置设备输出分辨率
Path:
/api/dimension
Method: PUT
Content-type: application/json; charset=utf-8
接口描述: 配置设备输出分辨率
请求参数
名称 | 类型 | 示例 | 描述 |
---|---|---|---|
width | int | 1920 | 输出宽度 |
height | int | 1080 | 输出高度 |
freq | int | 60 | 输出帧率 |
请求示例
{
"width": "1920",
"height": "1080",
"freq": "30"
}
# 配置设备输出分辨率
Path:
/api/dimension.json
Method: GET
Content-type: application/json; charset=utf-8
接口描述: 获取设备输出分辨率
响应参数
名称 | 类型 | 示例 | 描述 |
---|---|---|---|
width | int | 1920 | 输出宽度 |
height | int | 1080 | 输出高度 |
freq | int | 60 | 输出帧率 |
响应示例
{
"width": "1920",
"height": "1080",
"freq": "30"
}