LocalAudioMixerConfiguration
The configurations for mixing the lcoal audio.
public class LocalAudioMixerConfiguration { public ArrayList<MixedAudioStream> audioInputStreams; public boolean syncWithLocalMic; public LocalAudioMixerConfiguration() { audioInputStreams = new ArrayList<MixedAudioStream>(); syncWithLocalMic = true; } public static class MixedAudioStream { public int remoteUserUid; public String channelId; public Constants.AudioSourceType sourceType; public int trackId; public MixedAudioStream() { this.sourceType = Constants.AudioSourceType.AUDIO_SOURCE_UNKNOWN; this.remoteUserUid = 0; this.channelId = ""; this.trackId = 0; } }; }
- Since
- v4.5.0
Attributes
- audioInputStreams
- The source of the audio streams that are mixed locally. See MixedAudioStream.
- 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.