VideoOutputOrientationMode enum Null safety

视频输出方向模式。

Constants

Adaptative → const VideoOutputOrientationMode

自适应布局(默认) 该模式下 SDK 输出的视频方向与采集到的视频方向一致。 接收端会根据收到的视频旋转信息对视频进行旋转。该模式适用于接收端可以调整视频方向的场景:

  • 如果采集的视频是横屏模式,则输出的视频也是横屏模式。
  • 如果采集的视频是竖屏模式,则输出的视频也是竖屏模式。
@JsonValue(0)
const VideoOutputOrientationMode(0)
FixedLandscape → const VideoOutputOrientationMode

横屏布局。 该模式下 SDK 固定输出风景(横屏)模式的视频。如果采集到的视频是竖屏模式, 则视频编码器会对其进行裁剪。该模式适用于当接收端无法调整视频方向时,如使用旁路推流场景下。

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

竖屏布局。 该模式下 SDK 固定输出人像(竖屏)模式的视频。如果采集到的视频是横屏模式,则视频编码器会对其进行裁剪。该模式适用于当接收端无法调整视频方向时,如使用旁路推流场景下。

@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