AgoraAudioScenario Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraAudioScenario
Audio scenario.
Definition
typedef NS_ENUM(NSInteger, AgoraAudioScenario ) {
AgoraAudioScenarioDefault = 0,
AgoraAudioScenarioChatRoomEntertainment = 1,
AgoraAudioScenarioEducation = 2,
AgoraAudioScenarioGameStreaming = 3,
AgoraAudioScenarioShowRoom = 4,
AgoraAudioScenarioChatRoomGaming = 5,
AgoraAudioScenarioIot = 6,
AgoraAudioScenarioCommunication = 7,
AgoraAudioScenarioMeeting = 8,
};
Constants
AgoraAudioScenarioDefault
-
0: Default audio scenario.
Note: If you run the iOS app on an M1 Mac, due to the hardware differences between M1 Macs, iPhones, and iPads, the default audio scenario of the Agora iOS SDK is the same as that of the Agora macOS SDK.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioChatRoomEntertainment
-
1: Entertainment scenario where users need to frequently switch the user role.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioEducation
-
2: Education scenario where users want smoothness and stability.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioGameStreaming
-
3: High-quality audio chatroom scenario where hosts mainly play music.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioShowRoom
-
4: Showroom scenario where a single host wants high-quality audio.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioChatRoomGaming
-
5: Gaming scenario for group chat that only contains the human voice.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioIot
-
6: IoT (Internet of Things) scenario where users use IoT devices with low power consumption.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioCommunication
-
Communication scenario.
Declared In
AgoraEnumerates.h
. AgoraAudioScenarioMeeting
-
8: Meeting scenario that mainly contains the human voice.
Available in v3.2.0
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h