AgoraChannelProfile Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraChannelProfile
Channel profile.
Definition
typedef NS_ENUM(NSInteger, AgoraChannelProfile ) {
AgoraChannelProfileCommunication = 0,
AgoraChannelProfileLiveBroadcasting = 1,
AgoraChannelProfileGame = 2,
};
Constants
AgoraChannelProfileCommunication
-
0: (Default) The Communication profile.
Use this profile in one-on-one calls or group calls, where all users can talk freely.
Declared In
AgoraEnumerates.h
. AgoraChannelProfileLiveBroadcasting
-
1: The Live-Broadcast profile.
Users in a live-broadcast channel have a role as either broadcaster or audience. A broadcaster can both send and receive streams; an audience can only receive streams.
Declared In
AgoraEnumerates.h
. AgoraChannelProfileGame
-
2: The Gaming profile.
This profile uses a codec with a lower bitrate and consumes less power. Applies to the gaming scenario, where all game players can talk freely.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h