ChannelProfile enum
The channel profile.
Constructors
- ChannelProfile()
-
const
Values
- Communication → const ChannelProfile
-
0: (Default) The communication profile. This profile applies to scenarios such as an audio call or video call, where all users can publish and subscribe to streams.
- LiveBroadcasting → const ChannelProfile
-
1: Live streaming. In this profile, you can set the role of users as the host or audience by calling setClientRole. 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.
- Game → const ChannelProfile
-
2: Gaming. Agora does not recommend using this setting.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ChannelProfile> - A constant List of the values in this enum, in order of their declaration.