Agora Java API Reference for Android
|
Public Member Functions | |
AgoraRteRenderMode (int v) | |
int | getValue () |
Public Attributes | |
RENDER_MODE_HIDDEN =(1) | |
RENDER_MODE_FIT =(2) | |
RENDER_MODE_ADAPTIVE =(3) | |
The video display mode.
io.agora.rte.media.media_player.AgoraRteRenderMode.RENDER_MODE_HIDDEN =(1) |
1: Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.
io.agora.rte.media.media_player.AgoraRteRenderMode.RENDER_MODE_FIT =(2) |
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.
io.agora.rte.media.media_player.AgoraRteRenderMode.RENDER_MODE_ADAPTIVE =(3) |