Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rte.media.media_player.AgoraRteRenderMode Enum Reference

Public Member Functions

 AgoraRteRenderMode (int v)
 
int getValue ()
 

Public Attributes

 RENDER_MODE_HIDDEN =(1)
 
 RENDER_MODE_FIT =(2)
 
 RENDER_MODE_ADAPTIVE =(3)
 

Detailed Description

The video display mode.

Member Data Documentation

◆ RENDER_MODE_HIDDEN

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.

◆ RENDER_MODE_FIT

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.

◆ RENDER_MODE_ADAPTIVE

io.agora.rte.media.media_player.AgoraRteRenderMode.RENDER_MODE_ADAPTIVE =(3)
Deprecated:
3: This mode is deprecated.