Agora C++ API Reference for All Platforms
Loading...
Searching...
No Matches
agora::rtc::LocalAudioMixerConfiguration Struct Reference

#include <AgoraBase.h>

Public Member Functions

 LocalAudioMixerConfiguration ()
 

Public Attributes

unsigned int streamCount
 
MixedAudioStreamaudioInputStreams
 
bool syncWithLocalMic
 

Constructor & Destructor Documentation

◆ LocalAudioMixerConfiguration()

agora::rtc::LocalAudioMixerConfiguration::LocalAudioMixerConfiguration ( )
inline

Member Data Documentation

◆ streamCount

unsigned int agora::rtc::LocalAudioMixerConfiguration::streamCount

The number of the audio streams that are mixed locally.

◆ audioInputStreams

MixedAudioStream* agora::rtc::LocalAudioMixerConfiguration::audioInputStreams

The source of the audio streams that are mixed locally. See MixedAudioStream.

◆ syncWithLocalMic

bool agora::rtc::LocalAudioMixerConfiguration::syncWithLocalMic

Whether the mxied audio stream uses the timestamp of the audio frames captured by the local microphone.

  • true: (Default) Yes. Set to this value if you want all locally captured audio streams synchronized.
  • false: No. The SDK uses the timestamp of the audio frames at the time when they are mixed.