Agora C++ API Reference for All Platforms
Public Member Functions | Public Attributes | List of all members
agora::rtc::LocalAudioMixerConfiguration Struct Reference

Public Member Functions

 LocalAudioMixerConfiguration ()
 

Public Attributes

unsigned int streamCount
 
MixedAudioStreamaudioInputStreams
 
bool syncWithLocalMic
 

Detailed Description

The configuration of the audio mixing on the local client.

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 for the audio mixing on the local client.

◆ audioInputStreams

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

The source of the streams to mixed;

◆ syncWithLocalMic

bool agora::rtc::LocalAudioMixerConfiguration::syncWithLocalMic

Whether to use the timestamp follow the local mic's audio frame.

  • true: (Default) Use the timestamp of the captured audio frame as the timestamp of the mixed audio frame.
  • false: Do not use the timestamp of the captured audio frame as the timestamp of the mixed audio frame. Instead, use the timestamp when the mixed audio frame is constructed.