Documentation
Interactive Live Streaming Premium (Legacy)
API Reference
MediaPlayer Kit Java API Reference
MediaPlayer Kit Java API Reference
◆ PLAYER_ERROR_NOT_INIT
final int io.agora.mediaplayer.Constants.PLAYER_ERROR_NOT_INIT = -1 |
|
static |
The player is not initialized.
◆ PLAYER_RENDER_MODE_HIDDEN
final int io.agora.mediaplayer.Constants.PLAYER_RENDER_MODE_HIDDEN = 1 |
|
static |
1
: Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.
◆ PLAYER_RENDER_MODE_FIT
final int io.agora.mediaplayer.Constants.PLAYER_RENDER_MODE_FIT = 2 |
|
static |
2
: Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to disparity in the aspect ratio are filled with black.
◆ PLAYER_RENDER_MODE_ADAPTIVE
final int io.agora.mediaplayer.Constants.PLAYER_RENDER_MODE_ADAPTIVE = 3 |
|
static |
3
: This render mode is deprecated.