Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::AudioTrackConfig Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| AudioTrackConfig ()

## Public Attributes
bool | enableLocalPlayback
bool | enableAudioProcessing

## Detailed Description

The configuration of custom audio track

## Constructor & Destructor Documentation

## ◆ AudioTrackConfig()

agora::rtc::AudioTrackConfig::AudioTrackConfig | ( |  | ) |
| inline

## Member Data Documentation

## ◆ enableLocalPlayback

bool agora::rtc::AudioTrackConfig::enableLocalPlayback

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

## ◆ enableAudioProcessing

bool agora::rtc::AudioTrackConfig::enableAudioProcessing

Whether to enable APM (AEC/ANS/AGC) processing when the trackType is AUDIO_TRACK_DIRECT. false: (Default) Do not enable APM processing. true: Enable APM processing.