Public Member Functions | |
VideoCanvas (SurfaceView view) | |
VideoCanvas (SurfaceView view, int renderMode, int uid) | |
Public Attributes | |
SurfaceView | view |
int | renderMode |
int | uid |
Static Public Attributes | |
static final int | RENDER_MODE_HIDDEN = 1 |
static final int | RENDER_MODE_FIT = 2 |
static final int | RENDER_MODE_ADAPTIVE = 3 |
Properties of the video display window.
|
static |
1: Uniformly scale the video until it fills the visible boundaries. One dimension of the video may have clipped contents.
|
static |
2: Uniformly scale the video until one of its dimension fits the boundary. Areas that are not filled due to the disparity in the aspect ratio will be filled with black.
|
static |
SurfaceView io.agora.rtc.video.VideoCanvas.view |
Video display window.
int io.agora.rtc.video.VideoCanvas.renderMode |
Video display mode:
int io.agora.rtc.video.VideoCanvas.uid |
User ID.