Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rte.media.audio.AgoraRteAudioProfile Enum Reference

Public Member Functions

int getValue ()
 

Public Attributes

 DEFAULT =(0)
 
 SPEECH_STANDARD =(1)
 
 MUSIC_STANDARD =(2)
 
 MUSIC_STANDARD_STEREO =(3)
 
 MUSIC_HIGH_QUALITY =(4)
 
 MUSIC_HIGH_QUALITY_STEREO =(5)
 

Detailed Description

Sets the audio profile sampling rate, bitrate, encode mode, and the number of channels.

Member Data Documentation

◆ DEFAULT

io.agora.rte.media.audio.AgoraRteAudioProfile.DEFAULT =(0)

0: The default audio profile.

  • In the Communication profile, the default value is the same with AUDIO_PROFILE_SPEECH_STANDARD(1).
  • In the Live-broadcast profile, it represents a sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps.

◆ SPEECH_STANDARD

io.agora.rte.media.audio.AgoraRteAudioProfile.SPEECH_STANDARD =(1)

1: A sample rate of 32 kHz, audio encoding, mono, and a bitrate up to 18 Kbps.

◆ MUSIC_STANDARD

io.agora.rte.media.audio.AgoraRteAudioProfile.MUSIC_STANDARD =(2)

2: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps.

◆ MUSIC_STANDARD_STEREO

io.agora.rte.media.audio.AgoraRteAudioProfile.MUSIC_STANDARD_STEREO =(3)

3: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 80 Kbps.

◆ MUSIC_HIGH_QUALITY

io.agora.rte.media.audio.AgoraRteAudioProfile.MUSIC_HIGH_QUALITY =(4)

4: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 96 Kbps.

◆ MUSIC_HIGH_QUALITY_STEREO

io.agora.rte.media.audio.AgoraRteAudioProfile.MUSIC_HIGH_QUALITY_STEREO =(5)

5: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 128 Kbps.