Class AudioTrackConfig

java.lang.Object
io.agora.rtc2.audio.AudioTrackConfig

public class AudioTrackConfig extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Whether to enable audio processing module: - `true`: Enable the audio processing module to apply the Automatic Echo Cancellation (AEC), Automatic Noise Suppression (ANS), and Automatic Gain Control (AGC) effects.
    boolean
    Whether to enable the local audio-playback device: - `true`: (Default) Enable the local audio-playback device.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • enableLocalPlayback

      public boolean enableLocalPlayback
      Whether to enable the local audio-playback device: - `true`: (Default) Enable the local audio-playback device. - `false`: Do not enable the local audio-playback device.
    • enableAudioProcessing

      public boolean enableAudioProcessing
      Whether to enable audio processing module: - `true`: Enable the audio processing module to apply the Automatic Echo Cancellation (AEC), Automatic Noise Suppression (ANS), and Automatic Gain Control (AGC) effects. - `false`: (Default) Do not enable the audio processing module.
  • Constructor Details

    • AudioTrackConfig

      public AudioTrackConfig()
  • Method Details