Agora C++ API Reference for All Platforms

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

`#include <AgoraBase.h>`

## Public Member Functions
| EncodedAudioFrameInfo ()
| EncodedAudioFrameInfo (const EncodedAudioFrameInfo &rhs)

## Public Attributes
AUDIO_CODEC_TYPE | codec
int | sampleRateHz
int | samplesPerChannel
int | numberOfChannels
EncodedAudioFrameAdvancedSettings | advancedSettings
int64_t | captureTimeMs

## Constructor & Destructor Documentation

## ◆ EncodedAudioFrameInfo() [1/2]

agora::rtc::EncodedAudioFrameInfo::EncodedAudioFrameInfo | ( |  | ) |
| inline

## ◆ EncodedAudioFrameInfo() [2/2]

agora::rtc::EncodedAudioFrameInfo::EncodedAudioFrameInfo | ( | const EncodedAudioFrameInfo & | rhs | ) |
| inline

## Member Data Documentation

## ◆ codec

AUDIO_CODEC_TYPE agora::rtc::EncodedAudioFrameInfo::codec

Audio Codec type: `AUDIO_CODEC_TYPE`.

## ◆ sampleRateHz

int agora::rtc::EncodedAudioFrameInfo::sampleRateHz

Audio sample rate (Hz).

## ◆ samplesPerChannel

int agora::rtc::EncodedAudioFrameInfo::samplesPerChannel

The number of audio samples per channel.

## ◆ numberOfChannels

int agora::rtc::EncodedAudioFrameInfo::numberOfChannels

The number of audio channels.

## ◆ advancedSettings

EncodedAudioFrameAdvancedSettings agora::rtc::EncodedAudioFrameInfo::advancedSettings

This function is currently not supported.

## ◆ captureTimeMs

int64_t agora::rtc::EncodedAudioFrameInfo::captureTimeMs

This is a input parameter which means the timestamp for capturing the audio frame.