Agora C++ API Reference for All Platforms

Public Types | Public Member Functions | Public Attributes | List of all members
agora::rtc::SAudioPacket Struct Reference

## Public Types
enum | AUDIO_PACKET_TYPE { AUDIO_PACKET_REXFERRED = 0x1, AUDIO_PACKET_FROM_VOS = 0x2, AUDIO_PACKET_FROM_P2P = 0x4 }

## Public Member Functions
| SAudioPacket ()

## Public Attributes
int8_t | vad_
uint8_t | codec_
uint8_t | internalFlags_
uint16_t | seq_
uint16_t | ssrc_
uint16_t | payloadLength_
uint16_t | latestFrameSeq_
bool | filterable_
std::list< SharedSAudioFrame > | frames_
AudioFrameHandleInfo | handle_timing_
std::string | metadata_

## Member Enumeration Documentation

## ◆ AUDIO_PACKET_TYPE

enum agora::rtc::SAudioPacket::AUDIO_PACKET_TYPE

Enumerator
AUDIO_PACKET_REXFERRED |
AUDIO_PACKET_FROM_VOS |
AUDIO_PACKET_FROM_P2P |

## Constructor & Destructor Documentation

## ◆ SAudioPacket()

agora::rtc::SAudioPacket::SAudioPacket | ( |  | ) |
| inline

## Member Data Documentation

## ◆ vad_

int8_t agora::rtc::SAudioPacket::vad_

## ◆ codec_

uint8_t agora::rtc::SAudioPacket::codec_

## ◆ internalFlags_

uint8_t agora::rtc::SAudioPacket::internalFlags_

## ◆ seq_

uint16_t agora::rtc::SAudioPacket::seq_

## ◆ ssrc_

uint16_t agora::rtc::SAudioPacket::ssrc_

## ◆ payloadLength_

uint16_t agora::rtc::SAudioPacket::payloadLength_

## ◆ latestFrameSeq_

uint16_t agora::rtc::SAudioPacket::latestFrameSeq_

## ◆ filterable_

bool agora::rtc::SAudioPacket::filterable_

## ◆ frames_

std::list<SharedSAudioFrame> agora::rtc::SAudioPacket::frames_

## ◆ handle_timing_

AudioFrameHandleInfo agora::rtc::SAudioPacket::handle_timing_

## ◆ metadata_

std::string agora::rtc::SAudioPacket::metadata_