#include <AgoraBase.h>
The definition of the EncodedAudioFrameInfo struct.
◆ EncodedAudioFrameInfo() [1/2]
agora::rtc::EncodedAudioFrameInfo::EncodedAudioFrameInfo |
( |
| ) |
|
|
inline |
◆ EncodedAudioFrameInfo() [2/2]
◆ advancedSettings
The advanced settings of the audio frame.
◆ captureTimeMs
int64_t agora::rtc::EncodedAudioFrameInfo::captureTimeMs |
The Unix timestamp (ms) for capturing the external audio frames.
◆ codec
◆ numberOfChannels
int agora::rtc::EncodedAudioFrameInfo::numberOfChannels |
The number of audio channels of the audio frame.
◆ sampleRateHz
int agora::rtc::EncodedAudioFrameInfo::sampleRateHz |
The sample rate (Hz) of the audio frame.
◆ samplesPerChannel
int agora::rtc::EncodedAudioFrameInfo::samplesPerChannel |
The number of samples per audio channel.
If this value is not set, it is 1024 for AAC, or 960 for Opus by default.
The documentation for this struct was generated from the following file: