|
NERtc Unity SDK V.5.4.128
|
Public 属性 | |
| string | path |
| int | loopCount |
| bool | sendEnabled |
| uint | sendVolume |
| bool | playbackEnabled |
| uint | playbackVolume |
| ulong | startTimestamp |
| RtcAudioStreamType | streamType |
| uint | progressInterval |
创建混音的配置项。
| string nertc.RtcCreateAudioMixingOption.path |
待播放的音乐文件路径,支持本地绝对路径或 URL 地址。
| int nertc.RtcCreateAudioMixingOption.loopCount |
伴音循环播放的次数:
| bool nertc.RtcCreateAudioMixingOption.sendEnabled |
是否将伴音发送远端,默认为 true,即远端用户订阅本端音频流后可听到该伴音。
| uint nertc.RtcCreateAudioMixingOption.sendVolume |
乐文件的发送音量,取值范围为 0~100。默认为 100,表示使用文件的原始音量。
| bool nertc.RtcCreateAudioMixingOption.playbackEnabled |
是否本地播放伴音。默认为 true,即本地用户可以听到该伴音。
| uint nertc.RtcCreateAudioMixingOption.playbackVolume |
音乐文件的播放音量,取值范围为 0~100。默认为 100,表示使用文件的原始音量。
| ulong nertc.RtcCreateAudioMixingOption.startTimestamp |
音乐文件开始播放的时间,UTC 时间戳,即从 1970 年 1 月 1 日 0 点 0 分 0 秒开始到事件发生时的毫秒数。默认值为。 0,表示立即播放。
| RtcAudioStreamType nertc.RtcCreateAudioMixingOption.streamType |
伴音跟随音频主流还是辅流,默认跟随主流。
| uint nertc.RtcCreateAudioMixingOption.progressInterval |
伴音播放进度回调间隔,单位 ms,取值范围为 100~10000, 默认 1000ms