Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Attributes | List of all members
agora::rtc::VideoFrameData Struct Reference

`#include <NGIAgoraVideoFrame.h>`

Inherited by agora::rtc::VideoFrameDataV2.

## Public Attributes
OPTIONAL_ENUM_CLASS | Type
Type | type
union { |
TextureInfo texture |
RawPixelBuffer pixels |
void * cvpixelbuffer |
}; |  |
int | width
int | height
int | rotation
agora::media::base::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,
kPaddedRawPixels,
kTextureOES,
kTexture2D,
}

## ◆ type

Type agora::rtc::VideoFrameData::type

## ◆ texture

TextureInfo agora::rtc::VideoFrameData::texture

## ◆ pixels

RawPixelBuffer agora::rtc::VideoFrameData::pixels

## ◆ cvpixelbuffer

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

## ◆ [union]

union { ... } agora::rtc::VideoFrameData

## ◆ width

int agora::rtc::VideoFrameData::width

## ◆ height

int agora::rtc::VideoFrameData::height

## ◆ rotation

int agora::rtc::VideoFrameData::rotation

## ◆ color_space

agora::media::base::ColorSpace agora::rtc::VideoFrameData::color_space

## ◆ timestamp_ms

int64_t agora::rtc::VideoFrameData::timestamp_ms