开发者平台 / 视频管理系统(VMS)/API功能接口定义/设备消息透传
4.14.6 图像参数配置
4.14.6.1 获取镜像配置
{ "method": "get", "image": { "name":"switch" } } //响应 { "image": { "switch": // "chn2_switch" (对应多sensor请求,第一个镜头不需要带chnx前缀) { "flip_type": "off" } }, "error_code": 0 }
请求参数说明:
参数 | 类型 | 说明 |
---|---|---|
无 | - | - |
应答参数说明:
参数 | 类型 | 说明 |
---|---|---|
flip_type | 字符串 |
镜像类型 取值范围: left_and_right:左右 up_and_down:上下 center:中心 off:关闭 |
4.14.6.2 配置镜像配置
{ "image": { "method":"set", "image": { "switch": { "flip_type": "off", } } } } //响应 { "error_code": 0 }
请求参数说明:
参数 | 类型 | 说明 |
---|---|---|
flip_type | 字符串 |
镜像类型 取值范围: left_and_right:左右 up_and_down:上下 center:中心 off:关闭 |
应答参数说明:
参数 | 类型 | 说明 |
---|---|---|
无 | - | - |