Agora Java API Reference for Android

Classes | Public Attributes | List of all members
io.agora.rtc2.LocalAudioMixerConfiguration Class Reference

## Classes
class | MixedAudioStream

## Public Attributes
ArrayList< MixedAudioStream > | audioInputStreams
boolean | syncWithLocalMic

## Detailed Description

The configuration of the audio mixing on the local client.

## Member Data Documentation

## ◆ audioInputStreams

ArrayList<MixedAudioStream> io.agora.rtc2.LocalAudioMixerConfiguration.audioInputStreams

The audio streams for the audio mixing on the local client. See MixedAudioStream.

## ◆ syncWithLocalMic

boolean io.agora.rtc2.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.