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 live interactive streaming profile: A sample rate of 48 KHz, music encoding, mono, and a bitrate of up to 64 Kbps.
  • Declared In AgoraEnumerates.h.

    AgoraAudioProfileSpeechStandard

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicStandard

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicStandardStereo

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicHighQuality

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

    Declared In AgoraEnumerates.h.

    AgoraAudioProfileMusicHighQualityStereo

    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

    X
    Is this page helpful?