Agora C++ API Reference for All Platforms
Public Attributes | List of all members
agora::rtc::VideoFrameData Struct Reference

Public Attributes

OPTIONAL_ENUM_CLASS Type
 
Type type
 
union {
   TextureInfo   texture
 
   RawPixelBuffer   pixels
 
   void *   cvpixelbuffer
 
}; 
 
int width
 
int height
 
int rotation
 
ColorSpace color_space
 
int64_t timestamp_ms
 

Detailed Description

This structure defines underlying detailed video frame data of agora::rtc::IVideoFrame

Member Data Documentation

◆ Type

OPTIONAL_ENUM_CLASS agora::rtc::VideoFrameData::Type
Initial value:
{
kRawPixels,
kTexture,
kCVPixelBuffer,
}

◆ type

Type agora::rtc::VideoFrameData::type

◆ texture

TextureInfo agora::rtc::VideoFrameData::texture

◆ pixels

RawPixelBuffer agora::rtc::VideoFrameData::pixels

◆ cvpixelbuffer

void* agora::rtc::VideoFrameData::cvpixelbuffer

◆ @5

union { ... }

◆ width

int agora::rtc::VideoFrameData::width

◆ height

int agora::rtc::VideoFrameData::height

◆ rotation

int agora::rtc::VideoFrameData::rotation

◆ color_space

ColorSpace agora::rtc::VideoFrameData::color_space

◆ timestamp_ms

int64_t agora::rtc::VideoFrameData::timestamp_ms