Agora Server Gateway SDK Java API Reference
Loading...
Searching...
No Matches
io.agora.rtc.VideoFormat Class Reference

Public Member Functions

 VideoFormat ()
 
 VideoFormat (int width, int height, int fps)
 
int getWidth ()
 
void setWidth (int width)
 
int getHeight ()
 
void setHeight (int height)
 
int getFps ()
 
void setFps (int fps)
 

Private Attributes

int width
 
int height
 
int fps
 

Detailed Description

The VideoFormat class.

Constructor & Destructor Documentation

◆ VideoFormat() [1/2]

io.agora.rtc.VideoFormat.VideoFormat ( )

◆ VideoFormat() [2/2]

io.agora.rtc.VideoFormat.VideoFormat ( int width,
int height,
int fps )

Constructor.

Parameters
widthThe width (px) of the video.
heightThe height (px) of the video.
fpsThe video frame rate (fps).

Member Function Documentation

◆ getFps()

int io.agora.rtc.VideoFormat.getFps ( )

◆ getHeight()

int io.agora.rtc.VideoFormat.getHeight ( )

◆ getWidth()

int io.agora.rtc.VideoFormat.getWidth ( )

◆ setFps()

void io.agora.rtc.VideoFormat.setFps ( int fps)

◆ setHeight()

void io.agora.rtc.VideoFormat.setHeight ( int height)

◆ setWidth()

void io.agora.rtc.VideoFormat.setWidth ( int width)

Member Data Documentation

◆ fps

int io.agora.rtc.VideoFormat.fps
private

◆ height

int io.agora.rtc.VideoFormat.height
private

◆ width

int io.agora.rtc.VideoFormat.width
private

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