# 音频动态调整配置参数
#### 方法名称
int setCloudAudioConfig(String jsonStr)
#### 功能描述
设置音频相关的动态配置，基本校验，返回成功与否
#### 请求参数
| **参数名**  | **类型**  | **必填** | **描述**                     | **示例值**                                                     |
|:---|:---|:---|:---|:---|
| jsonStr | String | 是       | 音频配置参数的jsonObject转成的String | {"audioBitrate":256000,"audioUpper":256,"audioLower":64} |
   
JSON参数说明：
编码码率（单位：bps，13200\~512000）：key ：bitrate，value 13200\~512000；
码率上限（单位：Kbps）：key：audioUpper，value 0\~512；
码率下限（单位：Kbps）：key：audioLower，value 0\~512；
#### 调用样例
```
// 1. 接口
CloudPhoneClient.Callback.AppCallback callback = new CloudPhoneClient.Callback.AppCallback() {
  public static int setCloudAudioConfig(String jsonConfig) {
    return CloudPhoneClientInternal.setCloudAudioConfig(jsonConfig);
  }
};
// 2. 调用
JSONObject audioConfig = new JSONObject();
...
CloudPhoneClient.setCloudAudioConfig(audioConfig.toString());
```
#### 错误日志
| 报错参数                   | **描述**                                                                |
|:---|:---|
| bitrate               | Failed to set cloud audio config, invalid bitrate                     |
| audioUpper, audioLower | Failed to set cloud audio config, audio upper should larger than lower |
| audioUpper, audioLower | Failed to set cloud audio config, invalid audio upper or lower        |
| jsonObject内容错误         | Failed to set cloud audio config, invalid json format                  |
   
