RoomProfile enum
{zh}
* @detail keytype
@brief 房间模式
根据所需场景,选择合适的房间模式,应用不同的音视频算法、视频参数和网络配置
调用 setAudioProfile 改变音频参数配置
Values
- communication → const RoomProfile
-
@brief General mode by default
It equals toCHANNEL_PROFIEL_MEETING(16).
Contact us to alter the default settings. - game → const RoomProfile
-
@brief Game voice mode. Low consumption of computing resources and network data
Additional performance optimizations have been made for low-end devices:
- Encodes frame length 40/60 for some low-end models. - Disables software 3A audio processing for some low-end models. Enhance iOS Compatibility with other screen recordings to avoid audio recordings being interrupted by RTC. - cloud_game → const RoomProfile
-
@brief Cloud game mode.
Use this mode for game App requiring low latency.
During poor network connection, communication experiences get worse with this mode. - low_latency → const RoomProfile
-
@brief Cloud render mode featuring extra-low latency.
Choose this mode if it is not a game App yet requires low latency.
In this mode, latency will significantly decrease at the cost of lower audio quality as well as the bad performance with weak network signal. - chat_room → const RoomProfile
-
@brief For video and audio chat rooms of 3 or more people
- chorus → const RoomProfile
-
@brief The online-chorusing scenario with high-quality audio and low latency. Contact the technical specialists before using the value.
- game_streaming → const RoomProfile
-
@brief For scenarios of streaming live videos to only one client on the LAN. It can be applied to devices on the Internet or LAN.
- meeting_room → const RoomProfile
-
@brief For meeting Apps installed on terminals of meeting rooms, such as Rooms.
- classroom → const RoomProfile
-
@brief For the online classrooms and lectures that over 10 participants in the room are allowed to join the video chat.
- interactive_podcast → const RoomProfile
-
@brief For interactive podcasts that the host can have video and audio interactions with the audience. The voice mode is set to communication mode to avoid volume spiking and dipping acutely.
- meeting → const RoomProfile
-
@brief For meeting Apps installed on personal devices
- channel_profile_call → const RoomProfile
-
@brief Focus on smoothness, the default video bitrate is lower.
- channel_profile_live → const RoomProfile
-
@brief Focus on quality, the default video bitrate is higher.
Properties
- $value → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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<
RoomProfile> - A constant List of the values in this enum, in order of their declaration.