set-video-color

Use this interface to adjust the brightness, contrast, hue and saturation of the image.

You can obtain the value range of recording parameters using get-info.

"color-range": {
    "contrast": [],       // Value range of contrast
    "brightness": [],     // Value range of brightness
    "saturation": [],     // Value range of saturation
    "hue": []             // Value 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 Indicates the contrast value. The default value is 100.
brightness Indicates the brightness value. The default value is 0.
saturation Indicates the saturation value. The default value is 100.
hue Indicates 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.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""