Agora Recording CPP API Reference
Data Fields
agora::linuxsdk::VideoFrame Struct Reference

#include <IAgoraLinuxSdkCommon.h>

Data Fields

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

Detailed Description

The video frame format.

Field Documentation

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

◆ mType

MEMORY_TYPE agora::linuxsdk::VideoFrame::mType

See MEMORY_TYPE.

◆ rotation_

int agora::linuxsdk::VideoFrame::rotation_

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

◆ type

VIDEO_FRAME_TYPE agora::linuxsdk::VideoFrame::type

The video frame format, Yuv, H264 or Jpg. See agora::linuxsdk::VIDEO_FRAME_TYPE “VIDEO_FRAME_TYPE”

◆ yuv

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

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


The documentation for this struct was generated from the following file: