Agora C++ API Reference for All Platforms

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

`#include <packet_i.h>`

Inherited by agora::rtc::audio_packet_t, agora::rtc::broadcast_packet_t, and agora::rtc::video_packet_t.

## Public Types
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 }

## Public Member Functions
| rtc_packet_t ()

## Public Attributes
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

## Member Enumeration Documentation

## ◆ INTERNAL_FLAG_TYPE

enum agora::rtc::rtc_packet_t::INTERNAL_FLAG_TYPE

Enumerator
RTC_FLAG_REXFERRED |
RTC_FLAG_FROM_VOS |
RTC_FLAG_FROM_P2P |
RTC_FLAG_FROM_BROADCAST |
VIDEO_FLAG_TIMESTAMP_SET |
VIDEO_FLAG_CACHED |
VIDEO_FLAG_VIDEO3 |

## Constructor & Destructor Documentation

## ◆ rtc_packet_t()

agora::rtc::rtc_packet_t::rtc_packet_t | ( |  | ) |
| inline

## Member Data Documentation

## ◆ uid

uid_t agora::rtc::rtc_packet_t::uid

## ◆ seq

uint32_t agora::rtc::rtc_packet_t::seq

## ◆ payload_length

uint16_t agora::rtc::rtc_packet_t::payload_length

## ◆ sent_ts

uint64_t agora::rtc::rtc_packet_t::sent_ts

## ◆ recv_ts

uint64_t agora::rtc::rtc_packet_t::recv_ts

## ◆ link_id

int agora::rtc::rtc_packet_t::link_id

## ◆ internal_flags

uint8_t agora::rtc::rtc_packet_t::internal_flags

## ◆ payload

std::string agora::rtc::rtc_packet_t::payload