set-crop

Added at V2.3

Use this interface to set crop parameters for the main and sub stream.

HTTP Request

GET http://ip/usapi?method=set-crop&stream-idx=1&is-use=0...
Parameter Description
method set-crop
stream-idx 0: the main stream
1: the sub stream
is-use 0: disable cropping the video stream
1: enable cropping the video stream
x-offset Horizontal offset
y-offset Vertical offset
act-w Width.
act-h Height.

Response Body

{
  "result": 0
}
Item Description
result Returned status.
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 ""