setAudioGain.lua
[INDEX]

ABSTRACT

Set the audio gain

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

Source

Specify audio source name to change the gain ( 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.

ATTENTION: Current device can only allow to change the analog audio gain! If a digital sourcespecified, nothing will be changed.

Test value:

Gain
NUMBER

The gain value to set (in 'db'). Current device allow the value range is from -17.25 to 6.0

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