Agora C++ API Reference for All Platforms
agora::rtc::IMetadataObserver::Metadata Struct Reference

#include <IAgoraRtcEngine.h>

Public Attributes

unsigned int uid
unsigned int size
unsigned char * buffer
long long timeStampMs

Member Data Documentation

◆ uid

unsigned int agora::rtc::IMetadataObserver::Metadata::uid

The User ID.

  • For the receiver: the ID of the user who sent the metadata.
  • For the sender: ignore it.

◆ size

unsigned int agora::rtc::IMetadataObserver::Metadata::size

Buffer size of the sent or received Metadata.

◆ buffer

unsigned char* agora::rtc::IMetadataObserver::Metadata::buffer

Buffer address of the sent or received Metadata.

◆ timeStampMs

long long agora::rtc::IMetadataObserver::Metadata::timeStampMs

Timestamp (ms) of the frame following the metadata.