NERtcAudioProfile enum

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

Constants

profileDefault → const NERtcAudioProfile

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

const NERtcAudioProfile(0)
profileHighQuality → const NERtcAudioProfile

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

const NERtcAudioProfile(5)
profileHighQualityStereo → const NERtcAudioProfile

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

const NERtcAudioProfile(6)
profileMiddleQuality → const NERtcAudioProfile

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

const NERtcAudioProfile(3)
profileMiddleQualityStereo → const NERtcAudioProfile

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

const NERtcAudioProfile(4)
profileStandard → const NERtcAudioProfile

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

const NERtcAudioProfile(1)
profileStandardExtend → const NERtcAudioProfile

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

const NERtcAudioProfile(2)
values → const List<NERtcAudioProfile>

A constant List of the values in this enum, in order of their declaration.

const List<NERtcAudioProfile>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited