getStreamingMode.lua
[INDEX]

ABSTRACT

Get current encoding/streaming mode

KILOVIEW encoders support "main stream + sub stream" or "main stream only" mode. This API can get current mode.

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

NONE

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.

"Data": {
/*OBJECT*/

"Mode":
"STRING"

Streaming mode

main

Main stream only

main+sub

main stream + sub stream

}
}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0