Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.CameraCapturerConfiguration.CaptureFormat Class Reference

The format of the video frame. More...

Public Member Functions

 CaptureFormat (int width, int height, int fps)
 
int getHeight ()
 
int getWidth ()
 
int getFps ()
 
String toString ()
 

Public Attributes

int width
 
int height
 
int fps
 

Detailed Description

The format of the video frame.

Member Data Documentation

◆ width

int io.agora.rtc2.video.CameraCapturerConfiguration.CaptureFormat.width

The width (px) of the video frame. The default value is 960.

◆ height

int io.agora.rtc2.video.CameraCapturerConfiguration.CaptureFormat.height

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

◆ fps

int io.agora.rtc2.video.CameraCapturerConfiguration.CaptureFormat.fps

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