AudioMixingConfig class
混音配置
Constructors
- AudioMixingConfig({AudioMixingType type = AudioMixingType.playout, int playCount = 0, int position = 0, int callbackOnProgressInterval = 0, bool syncProgressToRecordFrame = false})
Properties
- callbackOnProgressInterval ↔ int
-
音频文件播放进度回调的时间间隔,参数为大于 0 的 10 的倍数,单位为毫秒,设置后 SDK 将按照设置的值触发 RTCVideoEventHandler.onAudioMixingPlayingProgress 回调,默认无回调。
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- playCount ↔ int
-
混音播放次数
read / write
- position ↔ int
-
混音时音频文件播放进度条位置,参数为整数,单位为毫秒
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- syncProgressToRecordFrame ↔ bool
-
在采集音频数据时,附带本地混音文件播放进度的时间戳。启用此功能会提升远端人声和音频文件混音播放时的同步效果。
read / write
- type ↔ AudioMixingType
-
混音播放类型
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