NERtcAudioMixingOptions class

伴音构造参数类

Constructors

NERtcAudioMixingOptions({required String path, int loopCount = 1, bool sendEnabled = true, int sendVolume = 100, bool playbackEnabled = true, int playbackVolume = 100, int progressInterval = 1000, int sendWithAudioType = 0, int startTimeStamp = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
loopCount int
循环次数, <= 0, 表示无限循环,默认 1
getter/setter pair
path String
文件地址/URL
getter/setter pair
playbackEnabled bool
是否播放(默认 true)
getter/setter pair
playbackVolume int
音乐文件的播放音量,取值范围为 0~200。默认为 100,表示使用文件的原始音量
getter/setter pair
progressInterval int
播放进度回调间隔,单位ms,取值范围为 100~10000, 默认1000ms
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendEnabled bool
是否发送(默认 true)
getter/setter pair
sendVolume int
发送音量0 - 100(默认 100)
getter/setter pair
sendWithAudioType int
伴音跟随音频主流还是辅流,默认跟随主流, 类型参考 NERtcAudioStreamType
getter/setter pair
startTimeStamp int
音乐文件开始播放的时间,UTC 时间戳,即从1970 年 1 月 1 日 0 点 0 分 0 秒开始到事件发生时的毫秒数。默认值为 0,表示立即播放
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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