Agora Objective-C API Reference for iOS/macOS

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

Default audio profile. In the communication profile, the default value is AgoraAudioProfileSpeechStandard; in the live-broadcast profile, the default value is AgoraAudioProfileMusicStandard.

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 48 Kbps.

Declared In AgoraEnumerates.h.

AgoraAudioProfileMusicStandardStereo

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

Declared In AgoraEnumerates.h.

AgoraAudioProfileMusicHighQuality

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

Declared In AgoraEnumerates.h.

AgoraAudioProfileMusicHighQualityStereo

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

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h

Is this page helpful?