Agora C++ API Reference for All Platforms

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

`#include <AgoraBase.h>`

## Public Member Functions
| EncodedAudioFrameAdvancedSettings ()

## Public Attributes
bool | speech
bool | sendEvenIfEmpty

## Detailed Description

The advanced settings of encoded audio frame.

## Constructor & Destructor Documentation

## ◆ EncodedAudioFrameAdvancedSettings()

agora::rtc::EncodedAudioFrameAdvancedSettings::EncodedAudioFrameAdvancedSettings | ( |  | ) |
| inline

## Member Data Documentation

## ◆ speech

bool agora::rtc::EncodedAudioFrameAdvancedSettings::speech

Determines whether the audio source is speech.

- true: (Default) The audio source is speech.
- false: The audio source is not speech.

## ◆ sendEvenIfEmpty

bool agora::rtc::EncodedAudioFrameAdvancedSettings::sendEvenIfEmpty

Whether to send the audio frame even when it is empty.

- true: (Default) Send the audio frame even when it is empty.
- false: Do not send the audio frame when it is empty.