Static Public Member Functions | |
static int | getValue (AudioProfile type) |
Sets the audio profile sample rate, bitrate, encoding mode, and the number of channels.
io.agora.rtc.Constants.AudioProfile.DEFAULT =(Constants.AUDIO_PROFILE_DEFAULT) |
0: Default audio profile.
COMMUNICATION
profile, the default audio profile represents a sample rate of 32 kHz, audio encoding, mono, and a bitrate of up to 18 Kbps.LIVE_BROADCASTING
profile, the default audio profile represents a sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps. io.agora.rtc.Constants.AudioProfile.SPEECH_STANDARD =(Constants.AUDIO_PROFILE_SPEECH_STANDARD) |
1: A sample rate of 32 kHz, audio encoding, mono, and a bitrate of up to 18 Kbps.
io.agora.rtc.Constants.AudioProfile.MUSIC_STANDARD =(Constants.AUDIO_PROFILE_MUSIC_STANDARD) |
2: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps.
io.agora.rtc.Constants.AudioProfile.MUSIC_STANDARD_STEREO =(Constants.AUDIO_PROFILE_MUSIC_STANDARD_STEREO) |
3: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 80 Kbps.
io.agora.rtc.Constants.AudioProfile.MUSIC_HIGH_QUALITY =(Constants.AUDIO_PROFILE_MUSIC_HIGH_QUALITY) |
4: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 96 Kbps.
io.agora.rtc.Constants.AudioProfile.MUSIC_HIGH_QUALITY_STEREO =(Constants.AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO) |
5: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 128 Kbps.