Agora RTC Objective-C API Reference  Refactor
Properties
AgoraAudioTrackConfig Class Reference

Inherits <NSObject>.

Properties

BOOL enableLocalPlayback
 
BOOL enableAudioProcessing
 

Property Documentation

◆ enableLocalPlayback

- (BOOL) enableLocalPlayback
readwritenonatomicassign

Whether to enable the local audio-playback device:

  • YES: (Default) Enable the local audio-playback device.
  • NO: Do not enable the local audio-playback device.

◆ enableAudioProcessing

- (BOOL) enableAudioProcessing
readwritenonatomicassign

Whether to enable audio processing module:

  • YES: Enable the audio processing module to apply the Automatic Echo Cancellation (AEC), Automatic Noise Suppression (ANS), and Automatic Gain Control (AGC) effects.
  • NO: (Default) Do not enable the audio processing module.
    Note
    This parameter only takes effect on AgoraAudioTrackTypeDirect in custom audio capturing.