AgoraAudioProfile Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraAudioProfile
音频属性
Definition
typedef NS_ENUM(NSInteger, AgoraAudioProfile ) {
AgoraAudioProfileDefault = 0,
AgoraAudioProfileSpeechStandard = 1,
AgoraAudioProfileMusicStandard = 2,
AgoraAudioProfileMusicStandardStereo = 3,
AgoraAudioProfileMusicHighQuality = 4,
AgoraAudioProfileMusicHighQualityStereo = 5,
};
Constants
AgoraAudioProfileDefault
-
0: 默认设置。
- 通信场景下:32 KHz 采样率,语音编码,单声道,编码码率最大值为 18 Kbps。
- 直播场景下:48 KHz 采样率,音乐编码,单声道,编码码率最大值为 64 Kbps。
Declared In
AgoraEnumerates.h
. AgoraAudioProfileSpeechStandard
-
1: 指定 32 KHz采样率,语音编码,单声道,编码码率最大值为 18 Kbps
Declared In
AgoraEnumerates.h
. AgoraAudioProfileMusicStandard
-
2: 指定 48 KHz采样率,音乐编码,单声道,编码码率最大值为 64 Kbps
Declared In
AgoraEnumerates.h
. AgoraAudioProfileMusicStandardStereo
-
3: 指定 48 KHz采样率,音乐编码,双声道,编码码率最大值为 80 Kbps
Declared In
AgoraEnumerates.h
. AgoraAudioProfileMusicHighQuality
-
4: 指定 48 KHz 采样率,音乐编码,单声道,编码码率最大值为 96 Kbps
Declared In
AgoraEnumerates.h
. AgoraAudioProfileMusicHighQualityStereo
-
5: 指定 48 KHz采样率,音乐编码,双声道,编码码率最大值为 128 Kbps
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h