set-audio
Use this interface to configure audio encoding parameters.
Obtain value range of audio bit rate using get-info.
{
"codec-cap": {
"audio-kbps": [], // Value range of audio bit rate
}
}
HTTP Request
GET http://ip/usapi?method=set-audio&kbps=48
Parameter | Description |
---|---|
method | set-audio |
kbps | Indicates audio bit rate. |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |