AudioTrackConfig
Used to configure custom audio tracks.
public class AudioTrackConfig {
public boolean enableLocalPlayback;
public boolean enableAudioProcessing;
}
Properties
- enableLocalPlayback
- Whether to enable the local audio playback device:
- true: (Default) Enables the local audio playback device.
- false: Does not enable the local audio playback device.
- enableAudioProcessing
-
Note: This parameter only takes effect for theWhether to enable the audio processing module:
AUDIO_TRACK_DIRECTtype in custom audio capture.- true: Enables the audio processing module, applying echo cancellation (AEC), noise suppression (ANS), and automatic gain control (AGC).
- false: (Default) Does not enable the audio processing module.