设置网络摄像头参数
# 设置网络摄像头参数
Path:
/api/cameraconfig
Method: PUT
Content-type: application/json; charset=utf-8
接口描述: 设置网络摄像头的参数,图片相关参数,账号相关参数等。
请求参数
名称 | 类型 | 示例 | 描述 |
---|---|---|---|
exposure | int | 10 | 曝光度,取值为-12~12,即摄像头的曝光度 |
whitebalance | String | "1" | 白平衡,"0"自动,"1"荧光,"3"白炽,"6"日光,"7"多云 |
size | String | "200*200" | 云相机拍摄的尺寸,格式为长*宽 |
interval | int | 5 | 摄像头图像的更新时间间隔,单位秒 |
auto_upload | int | 1 | 图片是否自动上报,1是,0否 |
quality | int | 80 | 图片的质量,取值0~100 |
ip | String | "192.168.1.83" | 网络摄像头的ip地址 |
username | String | "admin" | 网络摄像头的用户名 |
password | String | "123456" | 网络摄像头的密码 |
请求示例
{
"exposure":10,
"whitebalance":"1",
"size":"200*200",
"interval":5,
"auto_upload":1,
"quality":8,
"ip":"192.168.1.83",
"username":"asd",
"password":"qwe"
}