Agora Java API Reference for Android
|
Static Public Member Functions | |
static int | getValue (AudioScenario type) |
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.CHATROOM_ENTERTAINMENT =(Constants.AUDIO_SCENARIO_CHATROOM_ENTERTAINMENT) |
1: The entertainment scenario, which upports voice during gameplay.
io.agora.rtc2.Constants.AudioScenario.EDUCATION =(Constants.AUDIO_SCENARIO_EDUCATION) |
2: The education scenario, which prioritizes fluency and stability.
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.SHOWROOM =(Constants.AUDIO_SCENARIO_SHOWROOM) |
4: The showroom scenario, which optimizes the audio quality with professional external equipment.
io.agora.rtc2.Constants.AudioScenario.CHATROOM_GAMING =(Constants.AUDIO_SCENARIO_CHATROOM_GAMING) |
5: The gaming scenario.
io.agora.rtc2.Constants.AudioScenario.HIGH_DEFINITION =(Constants.AUDIO_SCENARIO_HIGH_DEFINITION) |
6: (Recommended) High definition.