selectAudioSource.lua
[INDEX]

ABSTRACT

Select audio source

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

Source
(MUST)

Specify audio source name ( The source names are got from getAudioSource.lua )

Note: In different products, digital audio source name may be different, like HDMI/SDI/...

For software programming conformity, no matter which digital audio source (hdmi/sdi/...)we use 'DIGITAL' to represent; Similarily, analog audio source might be LINE/MIC/..., we using 'ANALOG' to represent.

You can also set 'Source' to be 'AUTO', to let the device select audio source automatically. The auto selection ruler is:

If the video source is HDMI/SDI/... which has embedded audio, just select the digital embedded audio; otherwise, it select analog source (Line-in generally).

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