Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration VideoOutputOrientationMode

Video output orientation mode.

Index

Enumeration members

Adaptative

Adaptative: = 0

0: Adaptive mode (Default).

The video encoder adapts to the orientation mode of the video input device. When you use a custom video source, the output video from the encoder inherits the orientation of the original video.

  • 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.
  • 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.

FixedLandscape

FixedLandscape: = 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.

FixedPortrait

FixedPortrait: = 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