Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration OrientationMode

The orientation mode.

Index

Enumeration members

ORIENTATION_MODE_ADAPTIVE

ORIENTATION_MODE_ADAPTIVE: = 0

0: (Default) The output video always follows the orientation of the captured video, because the receiver takes the rotational information passed on from the video encoder.

Mainly used between Agora SDK.

  • If the captured video is in landscape mode, the output video is in landscape mode.
  • If the captured video is in portrait mode, the output video is in portrait mode.

ORIENTATION_MODE_FIXED_LANDSCAPE

ORIENTATION_MODE_FIXED_LANDSCAPE: = 1

1: 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. Applies to situations where the receiving end cannot process the rotational information.

For example, Media Push.

ORIENTATION_MODE_FIXED_PORTRAIT

ORIENTATION_MODE_FIXED_PORTRAIT: = 2

2: 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. Applies to situations where the receiving end cannot process the rotational information.

For example, Media Push.