Agora Java API Reference for Android
|
Public Attributes | |
int | RENDER_MODE_HIDDEN = 1 |
int | RENDER_MODE_FIT = 2 |
int io.agora.streaming.VideoRenderMode.RENDER_MODE_HIDDEN = 1 |
Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.
int io.agora.streaming.VideoRenderMode.RENDER_MODE_FIT = 2 |
Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio will be filled with black.