Agora Java API Reference for Android
Public Attributes | List of all members
agora::rtc::VideoFrameData Struct Reference

#include <NGIAgoraVideoFrame.h>

Inheritance diagram for agora::rtc::VideoFrameData:
agora::rtc::VideoFrameDataV2

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,
kPaddedRawPixels,
kTextureOES,
kTexture2D,
}