Encoder configure parameters mostly have one unique 'Parameter ID', for example:
encoder.stream[0].video.codec, corresponding value is "H264"
You could get corresponding configuration parameter value through specifying one or more Parameter ID;And you can set encoding parameter through specifying value for one or more Parameter ID.
All other HTTP API is essentially changing encoder's corresponding parameter. Of course,due to parameters quantity are numerous, mutual relations are complicated, users could call corresponding API according to functions request;the genereal get.lua/set.lua interface only exists as supplementary means.
The mains uses of get.lua/set.lua is batch get/set parameter to realized Preset functions.
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. |
} |
To get a whole 'Parameter ID' list, please contact factory techinical support.
KILOVIEW Device HTTP API, v1.0
Copyright (c) 2016, KILOVIEW Electronics.