LocalAudioMixerConfiguration
Local audio mixing configuration.
export class LocalAudioMixerConfiguration {
streamCount?: number;
audioInputStreams?: MixedAudioStream[];
syncWithLocalMic?: boolean;
}
Properties
- streamCount
- Number of audio streams to be mixed locally.
- audioInputStreams
- Audio sources to be mixed locally. See MixedAudioStream.
- syncWithLocalMic
- Whether the mixed audio stream uses the timestamp of audio frames captured by the local microphone:
- true: (Default) Uses the timestamp of audio frames captured by the local microphone. Set this value if you want all locally captured audio streams to stay synchronized.
- false: Does not use the timestamp of audio frames captured by the local microphone. The SDK uses the timestamp when the mixed audio frame is constructed.