setAdvancedAudioOptions abstract method
Future<void>
setAdvancedAudioOptions({
- required AdvancedAudioOptions options,
- int sourceType = 0,
Sets advanced audio options.
If you have advanced audio processing needs, such as collecting and sending stereo audio, you can call this method to set advanced audio options. You need to call this method before joinChannel, enableAudio, and enableLocalAudio.
optionsAdvanced audio options. See AdvancedAudioOptions.
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> setAdvancedAudioOptions(
{required AdvancedAudioOptions options, int sourceType = 0});