Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.audio.AudioTrackConfig Class Reference

## Public Member Functions
String | toString ()

## Public Attributes
boolean | enableLocalPlayback
boolean | enableAudioProcessing

## Detailed Description

The configuration of custom audio track which is set in createCustomAudioTrack.

## Member Data Documentation

## ◆ enableLocalPlayback

boolean io.agora.rtc2.audio.AudioTrackConfig.enableLocalPlayback

Enable local playback, enabled by default true: (Default) Enable local playback false: Do not enable local playback

## ◆ enableAudioProcessing

boolean io.agora.rtc2.audio.AudioTrackConfig.enableAudioProcessing

Enable APM processing false: AUDIO_TRACK_DIRECT is default false true: AUDIO_TRACK_DIRECT would process by APM(AEC/ANS/AGC)