AgoraChannelProfile Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraChannelProfile
Channel profile.
Definition
typedef NS_ENUM(NSInteger, AgoraChannelProfile ) {
AgoraChannelProfileCommunication = 0,
AgoraChannelProfileLiveBroadcasting = 1,
AgoraChannelProfileGame = 2,
};
Constants
AgoraChannelProfileCommunication
-
Communication (default).
This is used in one-on-one or group calls, where all users in the channel can talk freely.
Declared In
AgoraEnumerates.h
. AgoraChannelProfileLiveBroadcasting
-
Live Broadcast.
Host and audience roles that can be set by calling the setClientRole method. The host sends and receives voice/video, while the audience can only receive voice/video.
Declared In
AgoraEnumerates.h
. AgoraChannelProfileGame
-
Gaming.
This mode is for the Agora Gaming SDK only.
Any user in the channel can talk freely. This mode uses the codec with low-power consumption and low bitrate by default.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h