AgoraAudioProfile Constants Reference

Declared in AgoraEnumerates.h

AgoraAudioProfile

Audio profile.

Definition

typedef NS_ENUM(NSInteger, AgoraAudioProfile ) {
   AgoraAudioProfileDefault = 0,
   AgoraAudioProfileSpeechStandard = 1,
   AgoraAudioProfileMusicStandard = 2,
   AgoraAudioProfileMusicStandardStereo = 3,
   AgoraAudioProfileMusicHighQuality = 4,
   AgoraAudioProfileMusicHighQualityStereo = 5,
};

Constants

AgoraAudioProfileDefault

0: Default audio profile.

  • In the Communication profile: A sample rate of 32 KHz, audio encoding, mono, and a bitrate of up to 18 Kbps.
  • In the interactive live streaming profile: A sample rate of 48 KHz, music encoding, mono, and a bitrate of up to 64 Kbps.
  • Declared In AgoraEnumerates.h.

    AgoraAudioProfileSpeechStandard

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicStandard

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicStandardStereo

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicHighQuality

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicHighQualityStereo

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

    Declared In AgoraEnumerates.h.

    Declared In

    AgoraEnumerates.h