AudioProfileType enum

{zh} * @detail keytype @brief 音质档位

Inheritance
Available extensions

Values

profile_default → const AudioProfileType

@brief Default sound quality
The sound quality configuration of ChannelProfile{@link #ChannelProfile} sent by the server or set by the client side

fluent → const AudioProfileType

@brief Fluent
Sample rate: 16 KHz
Mono-channel
Encoding bitrate: 32 Kpbs
Low resource consumption, and small network packets guarantees a smooth call. It is suitable for most game scenarios, such as team-wide voice chat, group-wide voice chat, nation-wide voice chat.

standard → const AudioProfileType

@brief Mono-channel standard
Sample rate: 24 KHz
Encoding bitrate: 48 Kpbs
For scenarios requiring distinct voice, you can choose this mode, which achieves balanced latency, consumption, and network packets. It is suitable for educational Apps and the online Mafia Games.

hd → const AudioProfileType

@brief Dual-channel music
Sample rate: 48 KHz
Encoding bitrate: 128 Kpbs
This mode provides high-resolution audio at a cost of high latency, consumption, and large network packets. It is suitable for music Apps such as co-hosting and online talent contests.
Not recommended for game Apps.

standard_stereo → const AudioProfileType

@brief Dual-channel standard
Sample rate: 48 KHz
Encoding bitrate: 80 Kpbs

hd_mono → const AudioProfileType

@brief Mono-channel music
Sample rate: 48 KHz
Encoding bitrate: 64 Kpbs

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<AudioProfileType>
A constant List of the values in this enum, in order of their declaration.