|
Agora Java API Reference for Android
|
The video configuration for the shared screen stream. More...
Public Member Functions | |
| int | getBitrate () |
| int | getFramerate () |
| int | getWidth () |
| int | getHeight () |
| int | getContentHint () |
| String | toString () |
Public Attributes | |
| int | bitrate = 0 |
| int | framerate = 15 |
| int | width = 1280 |
| int | height = 720 |
| int | contentHint = Constants.SCREEN_CAPTURE_CONTENT_HINT_MOTION |
The video configuration for the shared screen stream.
Only available for scenarios where captureVideo is true.
| int io.agora.rtc2.ScreenCaptureParameters.VideoCaptureParameters.bitrate = 0 |
The video encoding bitrate (Kbps).
| int io.agora.rtc2.ScreenCaptureParameters.VideoCaptureParameters.framerate = 15 |
The video encoding frame rate (fps). The default value is 15.
| int io.agora.rtc2.ScreenCaptureParameters.VideoCaptureParameters.width = 1280 |
The width (px) of the video encoding resolution. The default value is 1280. If the aspect ratio of width to height is different from that of the screen, the SDK adjusts the video encoding resolution according to the following rules (take width × height of 1280 × 720 as an example):
ORIENTATION_MODE.| int io.agora.rtc2.ScreenCaptureParameters.VideoCaptureParameters.height = 720 |
The height (px) of the video encoding resolution. The default value is 720. If the aspect ratio of width to height is different from that of the screen, the SDK adjusts the video encoding resolution according to the following rules (take width × height of 1280 × 720 as an example):
ORIENTATION_MODE.| int io.agora.rtc2.ScreenCaptureParameters.VideoCaptureParameters.contentHint = Constants.SCREEN_CAPTURE_CONTENT_HINT_MOTION |
The content hint for screen sharing.
1.8.18