Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
agora::rtc::VideoFormat Struct Reference

The format of the video frame. More...

`#include <AgoraBase.h>`

## Public Member Functions
| VideoFormat (int w, int h, int f)
bool | operator< (const VideoFormat &fmt) const
bool | operator== (const VideoFormat &fmt) const
bool | operator!= (const VideoFormat &fmt) const

## Public Attributes
| OPTIONAL_ENUM_SIZE_T
int | width
int | height
int | fps

## Detailed Description

The format of the video frame.

## 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 frame. The default value is 960.

## ◆ height

int agora::rtc::VideoFormat::height

The height (px) of the video frame. The default value is 540.

## ◆ fps

int agora::rtc::VideoFormat::fps

The video frame rate (fps). The default value is 15.