Agora C++ API Reference for All Platforms

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

Inherits agora::rtc::rtc_packet_t.

## Public Member Functions
| audio_packet_t ()
Public Member Functions inherited from agora::rtc::rtc_packet_t
| rtc_packet_t ()

## Public Attributes
uint32_t | ts
int8_t | vad
uint8_t | codec
int | last_error
uint32_t | reqMs
uint8_t | flags
int64_t | audio_pts
std::string | metadata_
std::string | audio_stat_info_
Public Attributes inherited from agora::rtc::rtc_packet_t
uid_t | uid
uint32_t | seq
uint16_t | payload_length
uint64_t | sent_ts
uint64_t | recv_ts
int | link_id
uint8_t | internal_flags
std::string | payload

## Additional Inherited Members
Public Types inherited from agora::rtc::rtc_packet_t
enum | INTERNAL_FLAG_TYPE { RTC_FLAG_REXFERRED = 0x1, RTC_FLAG_FROM_VOS = 0x2, RTC_FLAG_FROM_P2P = 0x4, RTC_FLAG_FROM_BROADCAST = 0x8, VIDEO_FLAG_TIMESTAMP_SET = 0x10, VIDEO_FLAG_CACHED = 0x20, VIDEO_FLAG_VIDEO3 = 0x40 }

## Constructor & Destructor Documentation

## ◆ audio_packet_t()

agora::rtc::audio_packet_t::audio_packet_t | ( |  | ) |
| inline

## Member Data Documentation

## ◆ ts

uint32_t agora::rtc::audio_packet_t::ts

## ◆ vad

int8_t agora::rtc::audio_packet_t::vad

## ◆ codec

uint8_t agora::rtc::audio_packet_t::codec

## ◆ last_error

int agora::rtc::audio_packet_t::last_error

## ◆ reqMs

uint32_t agora::rtc::audio_packet_t::reqMs

## ◆ flags

uint8_t agora::rtc::audio_packet_t::flags

## ◆ audio_pts

int64_t agora::rtc::audio_packet_t::audio_pts

## ◆ metadata_

std::string agora::rtc::audio_packet_t::metadata_

## ◆ audio_stat_info_

std::string agora::rtc::audio_packet_t::audio_stat_info_