Agora Java API Reference for Android
Public Attributes | List of all members
io.agora.streaming.VideoRenderMode Interface Reference

Public Attributes

int RENDER_MODE_HIDDEN = 1
 
int RENDER_MODE_FIT = 2
 

Member Data Documentation

◆ RENDER_MODE_HIDDEN

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.

◆ RENDER_MODE_FIT

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.