|
Agora Java API Reference for Android
|
Static Public Member Functions | |
| static int | getValue (AudioScenario type) |
Public Attributes | |
| DEFAULT =(Constants.AUDIO_SCENARIO_DEFAULT) | |
| GAME_STREAMING =(Constants.AUDIO_SCENARIO_GAME_STREAMING) | |
| CHATROOM =(Constants.AUDIO_SCENARIO_CHATROOM) | |
Sets the audio application scenarios.
| io.agora.rtc2.Constants.AudioScenario.DEFAULT =(Constants.AUDIO_SCENARIO_DEFAULT) |
0: (Recommended) The default audio scenario.
| io.agora.rtc2.Constants.AudioScenario.GAME_STREAMING =(Constants.AUDIO_SCENARIO_GAME_STREAMING) |
3: (Recommended) The live gaming scenario, which needs to enable the gaming audio effects in the speaker mode in a live broadcast scenario. Choose this scenario to achieve high-fidelity music playback.
| io.agora.rtc2.Constants.AudioScenario.CHATROOM =(Constants.AUDIO_SCENARIO_CHATROOM) |
5: The chatroom scenario, which needs to keep recording when setClientRole to audience. Normally, app developer can also use mute api to achieve the same result, and we implement this 'non-orthogonal' behavior only to make API backward compatible.
1.8.18