AdvancedAudioOptions

The advanced options for audio.

public class AdvancedAudioOptions {
  public enum AgoraAudioProcessChannels {
    AGORA_AUDIO_MONO_PROCESSING(1),
    AGORA_AUDIO_STEREO_PROCESSING(2);
    private int value;
    private AgoraAudioProcessChannels(int v) {
      value = v;
    }
    public int getValue() {
      return this.value;
    }
  }
  public AgoraAudioProcessChannels audioProcessingChannels;

  public AdvancedAudioOptions(AgoraAudioProcessChannels channels) {
    audioProcessingChannels = channels;
  }

  public AdvancedAudioOptions() {
    audioProcessingChannels = AgoraAudioProcessChannels.AGORA_AUDIO_MONO_PROCESSING;
  }
}

Attributes

audioProcessingChannels
The number of channels for audio preprocessing. See AgoraAudioProcessChannels.