startLocalAudioMixer abstract method
Starts local audio mixing.
This method supports merging multiple local audio streams into a single audio stream. For example: merge audio from the local microphone, media player, sound card, remote audio streams, etc., into one stream and publish it to the channel. If you want to mix local captured audio, you can set publishMixedAudioTrack in ChannelMediaOptions to true to publish the mixed audio stream to the channel. If you want to mix remote audio streams, make sure the remote audio streams are published in the channel and subscribed. To ensure audio quality, it is recommended that no more than 10 audio streams participate in local mixing.
configConfiguration for local audio mixing. See LocalAudioMixerConfiguration.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> startLocalAudioMixer(LocalAudioMixerConfiguration config);