NERtc Windows SDK
V4.4.301
|
#include <nertc_engine_defines.h>
Public 属性 | |
char | path [kNERtcMaxURILength] |
int | loop_count |
bool | send_enabled |
uint32_t | send_volume |
bool | playback_enabled |
uint32_t | playback_volume |
Configuration items for audio mixing.
int nertc::NERtcCreateAudioMixingOption::loop_count |
The number of loops for mixing audio playback: -1: (Default) plays the audio effect for one time. -≤ 0: plays in an infinite loop, until stops by calling pauseAudioMixing or stopAudioMixing.
char nertc::NERtcCreateAudioMixingOption::path[kNERtcMaxURILength] |
The path of the audio file. The local absolute paths or URL addresses are supported.
bool nertc::NERtcCreateAudioMixingOption::playback_enabled |
Specifies whether to play back the mixing audio on the local client. The default value is true. The local users can hear the mixing audio.
uint32_t nertc::NERtcCreateAudioMixingOption::playback_volume |
Indicates the playback volume of a music file. Valid values: 0 to 100. The default value is 100, which indicates that the original volume of the file is used.
bool nertc::NERtcCreateAudioMixingOption::send_enabled |
Specifies whether to send the mixing audio to the remote client. The default value is true. The remote user can hear the mixing audio after the remote user subscribes to the local audio stream.
uint32_t nertc::NERtcCreateAudioMixingOption::send_volume |
Indicates the publishing volume of a music file. Valid values: 0 to 100. The default value is 100, which indicates that the original volume of the file is used.