NERtc Windows SDK
|
#include <nertc_engine_defines.h>
Public Attributes | |
char | path [kNERtcMaxURILength] |
int | loop_count |
bool | send_enabled |
uint32_t | send_volume |
bool | playback_enabled |
uint32_t | playback_volume |
创建混音的配置项
int nertc::NERtcCreateAudioMixingOption::loop_count |
伴音循环播放的次数:
char nertc::NERtcCreateAudioMixingOption::path[kNERtcMaxURILength] |
待播放的音乐文件的绝对路径或 URL 地址。
bool nertc::NERtcCreateAudioMixingOption::playback_enabled |
是否可播放。默认为 true,即可在本地播放该伴音
uint32_t nertc::NERtcCreateAudioMixingOption::playback_volume |
音乐文件的播放音量,取值范围为 0~100。默认为 100,表示使用文件的原始音量。
bool nertc::NERtcCreateAudioMixingOption::send_enabled |
是否将伴音发送远端,默认为 true,即远端用户订阅本端音频流后可听到该伴音。
uint32_t nertc::NERtcCreateAudioMixingOption::send_volume |
音乐文件的发送音量,取值范围为 0~100。默认为 100,表示使用文件的原始音量。