|
Agora Java API Reference for Android
|
Video rendering mode. More...
Static Public Member Functions | |
| static int | getValue (VideoRenderMode type) |
| static VideoRenderMode | fromInt (int v) |
Public Attributes | |
| HIDDEN =(0) | |
| FIT =(1) | |
Video rendering mode.
| io.agora.rte.Constants.VideoRenderMode.HIDDEN =(0) |
0: Scales the video dimensions proportionally. Prioritizes filling the viewport. Any excess video content resulting from a mismatch between the video dimensions and the display viewport will be cropped.
| io.agora.rte.Constants.VideoRenderMode.FIT =(1) |
1: Scales the video dimensions proportionally, prioritizing full display of the video content.
Black bars are added to fill any unoccupied areas of the display viewport caused by mismatched video and viewport dimensions.
1.8.18