set-video-color
Use this interface to adjust the brightness, contrast, hue and saturation of the image.
You can obtain the range of recording parameters using get-info.
"color-range": {
"contrast": [], // range of contrast
"brightness": [], // range of brightness
"saturation": [], // range of saturation
"hue": [] // range of hue
}
HTTP Request
GET http://ip/usapi?method=set-video-color&contrast=100&brightness=0&saturation=100&hue=0
Parameter | Description |
---|---|
method | set-video-color |
contrast | The contrast value. The default value is 100. |
brightness | The brightness value. The default value is 0. |
saturation | The saturation value. The default value is 100. |
hue | The hue value. The default value is 0. |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |