NERtcAudioProfile enum

音频属性。设置采样率,码率,编码模式和声道数

Inheritance

Constructors

NERtcAudioProfile()
const

Values

profileDefault → const NERtcAudioProfile

默认设置。Speech场景下为profileStandard,Music场景下为profileHighQuality

profileStandard → const NERtcAudioProfile

标准音质模式。采样率为 16 kHz、语音编码、单声道、编码码率最大值为 20 Kbps

profileStandardExtend → const NERtcAudioProfile

标准扩展模式。采样率为 16 kHz、语音编码、单声道、编码码率最大值为 32 Kbps

profileMiddleQuality → const NERtcAudioProfile

中等音质模式。采样率为 48 kHz、音乐编码、单声道、编码码率最大值为 64 Kbps

profileMiddleQualityStereo → const NERtcAudioProfile

中等音质模式(立体音)。采样率为 48 kHz、音乐编码、双声道、编码码率最大值为 80 Kbps

profileHighQuality → const NERtcAudioProfile

高音质模式。采样率为 48 kHz、音乐编码、单声道、编码码率最大值为 96 Kbps

profileHighQualityStereo → const NERtcAudioProfile

高音质模式(立体音)。采样率为 48 kHz、音乐编码、双声道、编码码率最大值为 128 Kbps

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<NERtcAudioProfile>
A constant List of the values in this enum, in order of their declaration.