Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.streaming.VideoStreamConfiguration.ORIENTATION_MODE Enum Reference

Public Member Functions

int getValue ()
 

Public Attributes

 ORIENTATION_MODE_FIXED_LANDSCAPE =(1)
 
 ORIENTATION_MODE_FIXED_PORTRAIT =(2)
 

Detailed Description

The video orientation mode of the video.

Member Data Documentation

◆ ORIENTATION_MODE_FIXED_LANDSCAPE

io.agora.streaming.VideoStreamConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_LANDSCAPE =(1)

Landscape mode. The output video is always in landscape mode. If the captured video is in portrait mode, the video encoder crops it to fit the output.

◆ ORIENTATION_MODE_FIXED_PORTRAIT

io.agora.streaming.VideoStreamConfiguration.ORIENTATION_MODE.ORIENTATION_MODE_FIXED_PORTRAIT =(2)

Portrait mode. The output video is always in portrait mode. If the captured video is in landscape mode, the video encoder crops it to fit the output.