Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ORIENTATION_MODE

Video output orientation modes.

Index

Enumeration members

ORIENTATION_MODE_ADAPTIVE

ORIENTATION_MODE_ADAPTIVE: = 0

0: (Default) Adaptive mode.

The video encoder adapts to the orientation mode of the video input device.

  • If the width of the captured video from the SDK is greater than the height, the encoder sends the video in landscape mode. The encoder also sends the rotational information of the video, and the receiver uses the rotational information to rotate the received video.
  • When you use a custom video source, the output video from the encoder inherits the orientation of the original video. If the original video is in portrait mode, the output video from the encoder is also in portrait mode. The encoder also sends the rotational information of the video to the receiver.

ORIENTATION_MODE_FIXED_LANDSCAPE

ORIENTATION_MODE_FIXED_LANDSCAPE: = 1

1: Landscape mode.

The video encoder always sends the video in landscape mode. The video encoder rotates the original video before sending it and the rotational information is 0. This mode applies to scenarios involving CDN live streaming.

ORIENTATION_MODE_FIXED_PORTRAIT

ORIENTATION_MODE_FIXED_PORTRAIT: = 2

2: Portrait mode.

The video encoder always sends the video in portrait mode. The video encoder rotates the original video before sending it and the rotational information is 0. This mode applies to scenarios involving CDN live streaming.

Generated using TypeDoc