Public Member Functions

 VideoFrame ()
 
 ~VideoFrame ()
 

Public Attributes

VIDEO_FRAME_TYPE type
 
union {
   VideoYuvFrame *   yuv
 
   VideoH264Frame *   h264
 
   VideoJpgFrame *   jpg
 
   VideoH265Frame *   h265
 
frame
 
int rotation_
 
MEMORY_TYPE mType
 

Detailed Description

The video frame format.

Constructor & Destructor Documentation

◆ VideoFrame()

agora::linuxsdk::VideoFrame::VideoFrame ( )

◆ ~VideoFrame()

agora::linuxsdk::VideoFrame::~VideoFrame ( )

Member Data Documentation

◆ type

VIDEO_FRAME_TYPE agora::linuxsdk::VideoFrame::type

The video frame format, Yuv, H264 or Jpg.

◆ yuv

VideoYuvFrame* agora::linuxsdk::VideoFrame::yuv

Video data in Yuv format. See the structure of VideoYuvFrame.

◆ h264

VideoH264Frame* agora::linuxsdk::VideoFrame::h264

Video data in H264 format. See the structure of VideoH264Frame.

◆ jpg

VideoJpgFrame* agora::linuxsdk::VideoFrame::jpg

Video data in Jpg format. See the structure of VideoJpgFrame.

◆ h265

VideoH265Frame* agora::linuxsdk::VideoFrame::h265

Video data in H265 format. See the structure of VideoH265Frame.

◆ frame

union { ... } agora::linuxsdk::VideoFrame::frame

◆ rotation_

int agora::linuxsdk::VideoFrame::rotation_

The rotation of the video frame, 0, 90, 180 or 270.

◆ mType

MEMORY_TYPE agora::linuxsdk::VideoFrame::mType