Agora C++ API Reference for All Platforms

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

## Public Member Functions
| AVData ()

## Public Attributes
unsigned int | uid
enum AVDATA_TYPE | type
unsigned int | size
unsigned char * | buffer
unsigned int | timestamp
VDataInfo | vinfo
ADataInfo | ainfo

## Constructor & Destructor Documentation

## ◆ AVData()

agora::rtc::IAVDataObserver::AVData::AVData | ( |  | ) |
| inline

## Member Data Documentation

## ◆ uid

unsigned int agora::rtc::IAVDataObserver::AVData::uid

The User ID. reserved

- For the receiver: the ID of the user who owns the data.

## ◆ type

enum AVDATA_TYPE agora::rtc::IAVDataObserver::AVData::type

- data type, audio / video.

## ◆ size

unsigned int agora::rtc::IAVDataObserver::AVData::size

Buffer size of the sent or received Metadata.

## ◆ buffer

unsigned char* agora::rtc::IAVDataObserver::AVData::buffer

Buffer address of the sent or received Metadata.

## ◆ timestamp

unsigned int agora::rtc::IAVDataObserver::AVData::timestamp

Time statmp of the frame following the metadata.

## ◆ vinfo

VDataInfo agora::rtc::IAVDataObserver::AVData::vinfo

Video frame info

## ◆ ainfo

ADataInfo agora::rtc::IAVDataObserver::AVData::ainfo

Audio frame info