set-audio
Use the interface to configure audio coding parameters.
Obtain range of audio coding bitrate using get-info.
{
"codec-cap": {
"audio-kbps": [], // range of audio coding bitrate
}
}
HTTP Request
GET http://ip/usapi?method=set-audio&kbps=48
Parameter | Description |
---|---|
method | set-audio |
kbps | Indicates audio coding bitrate. |
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. |