AudioPropertiesConfig class

音频属性信息提示的相关配置

Constructors

AudioPropertiesConfig({int interval = 100, bool enableSpectrum = false, bool enableVad = false, AudioReportMode localMainReportMode = AudioReportMode.normal, AudioPropertiesMode audioReportMode = AudioPropertiesMode.microphone, double smooth = 1.0})

Properties

audioReportMode ↔ AudioPropertiesMode
设置 RTCVideoEventHandler.onLocalAudioPropertiesReport 回调中是否包含本地混音音频数据。
read / write
enableSpectrum ↔ bool
是否开启音频频谱检测
read / write
enableVad ↔ bool
是否开启人声检测(VAD)
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
interval ↔ int
信息提示间隔,单位为毫秒
read / write
localMainReportMode ↔ AudioReportMode
音量回调模式
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
smooth ↔ double
适用于音频属性信息提示的平滑系数。取值范围是 (0.0, 1.0]。
read / write

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