audioConfig property
getter/setter pair
The audio config of the auto mixer task.Description: The audio config of the auto mixer task.Use cases: If user needs special requirements for the audio config of the auto stream mixing task, such as adjusting the audio bitrate, user can set this parameter as required. Otherwise, user do not need to set this parameter.Required: No.Default value: The default audio bitrate is 48 kbps
, the default audio channel is ZEGO_AUDIO_CHANNEL_MONO
, the default encoding ID is ZEGO_AUDIO_CODEC_ID_DEFAULT
, and the default multi-channel audio stream mixing mode is ZEGO_AUDIO_MIX_MODE_RAW
.Recommended value: Set this parameter based on requirements.
Implementation
ZegoMixerAudioConfig audioConfig;