setFlipping.lua
[INDEX]

ABSTRACT

Set rotation/flipping options

The encoders support picture rotation by 90/180/270 degrees, and horizontal mirror/vertical flipping.

NOTE: If the text overlay is enabled, with video image rotated/flipped, whether the text rotated/flipped followed by the picture or not, it can be configured by 'NoRotate' option in setOSDEnable.lua

ARGUMENTS

HTTP Arguments submit: POST

Test this API over HTTP - (URL):

Mode
STRING

Set rotation/flipping option:

0

Normal, no rotation/flipping

90

Rotate 90 Deg. clockwise

180

Rotate 180 Deg. clockwise

270

Rotate 270 Deg. clockwise (90 Deg. anticlockwise)

mirror

Mirror (Horizontal flip)

flip

Vertical flip

Test value:

RETURNS

Return a JSON style result. The JSON format is:

{
/*OBJECT*/

"Result":
NUMBER

200 means OK, other error code meanings are similar to HTTP Response.

"Status":
"STRING"

Status message. Responsing result status of API executive, if there errors, it will describe reasons.

}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0