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

#include <AgoraBase.h>

Public Member Functions

 VideoFormat (int w, int h, int f)
 
bool operator< (const VideoFormat &fmt) const
 

Public Attributes

 OPTIONAL_ENUM_SIZE_T
 
int width
 
int height
 
int fps
 

Detailed Description

The definition of the VideoFormat struct.

Member Data Documentation

◆ OPTIONAL_ENUM_SIZE_T

agora::rtc::VideoFormat::OPTIONAL_ENUM_SIZE_T
Initial value:
{
kMaxWidthInPixels = 3840,
kMaxHeightInPixels = 2160,
kMaxFps = 60,
}

◆ width

int agora::rtc::VideoFormat::width

The width (px) of the video.

◆ height

int agora::rtc::VideoFormat::height

The height (px) of the video.

◆ fps

int agora::rtc::VideoFormat::fps

The video frame rate (fps).