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: Communication. This profile applies to scenarios such as an audio call or video call, where all users can publish and subscribe to streams. Declared In AgoraEnumerates.h.
- AgoraChannelProfileLiveBroadcasting
- 
1: Interactive live streaming. In this profile, uses have roles, namely, host and audience (default). A host both publishes and subscribes to streams, while an audience subscribes to streams only. This profile applies to scenarios such as a chat room or interactive video streaming. Declared In AgoraEnumerates.h.
- AgoraChannelProfileGame
- 
Agora recommends not using this profile. Declared In AgoraEnumerates.h.
Declared In
AgoraEnumerates.h