NERtcAudioProfile enum Null safety

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

Inheritance

Constructors

NERtcAudioProfile()
const

Values

profileDefault → const NERtcAudioProfile

默认设置。Speech场景下为Standard,Music场景下为HighQuality

const NERtcAudioProfile(0)
profileStandard → const NERtcAudioProfile

普通质量的音频编码,16000Hz,20Kbps

const NERtcAudioProfile(1)
profileStandardExtend → const NERtcAudioProfile

普通质量的音频编码,16000Hz,32Kbps

const NERtcAudioProfile(2)
profileMiddleQuality → const NERtcAudioProfile

中等质量的音频编码,48000Hz,32Kbps

const NERtcAudioProfile(3)
profileMiddleQualityStereo → const NERtcAudioProfile

中等质量的立体声编码,48000Hz * 2,64Kbps

const NERtcAudioProfile(4)
profileHighQuality → const NERtcAudioProfile

高质量的音频编码,48000Hz,64Kbps

const NERtcAudioProfile(5)
profileHighQualityStereo → const NERtcAudioProfile

高质量的立体声编码,48000Hz * 2,128Kbps

const NERtcAudioProfile(6)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[profileDefault, profileStandard, profileStandardExtend, profileMiddleQuality, profileMiddleQualityStereo, profileHighQuality, profileHighQualityStereo]