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

#include <AgoraBase.h>

Public Types

enum  : size_t { kMaxWidthInPixels = 3840, kMaxHeightInPixels = 2160, kMaxFps = 60 }
 

Public Member Functions

 VideoFormat (int w, int h, int f)
 

Public Attributes

int width
 
int height
 
int fps
 

Detailed Description

The definition of the VideoFormat struct.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : size_t
Enumerator
kMaxWidthInPixels 

The maximum value (px) of the width.

kMaxHeightInPixels 

The maximum value (px) of the height.

kMaxFps 

The maximum value (fps) of the frame rate.

Member Data Documentation

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