On-premise Recording SDK v3.0.6 API Reference for Linux (C++)
Public Member Functions | Public Attributes | List of all members
agora::linuxsdk::VideoFrame Struct Reference

Public Member Functions

  VideoFrame ()
 
  ~VideoFrame ()
 

Public Attributes

VIDEO_FRAME_TYPE  type
 
union {
   VideoYuvFrame *   yuv
 
   VideoH264Frame *   h264
 
   VideoJpgFrame *   jpg
 
   VideoH265Frame *   h265
 
   VideoJpgFile *   jpg_file
 
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, JPG, or JPG file.

◆ 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.

◆ jpg_file

VideoJpgFile* agora::linuxsdk::VideoFrame::jpg_file

Video data in jpg file format. See the structure of VideoJpgFile.

◆ 

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