VideoOutputOrientationMode enum Null safety

Video output orientation mode.

Constants

Adaptative → const VideoOutputOrientationMode

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.
@JsonValue(0)
const VideoOutputOrientationMode(0)
FixedLandscape → const VideoOutputOrientationMode

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.

@JsonValue(1)
const VideoOutputOrientationMode(1)
FixedPortrait → const VideoOutputOrientationMode

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.

@JsonValue(2)
const VideoOutputOrientationMode(2)
values → const List<VideoOutputOrientationMode>

A constant List of the values in this enum, in order of their declaration.

const List<VideoOutputOrientationMode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited