VideoOrientation enum

视频帧朝向

Inheritance

Constructors

VideoOrientation()
const

Values

adaptive → const VideoOrientation

(默认)使用相机输出的原始视频帧的角度,不对视频帧进行额外旋转

portrait → const VideoOrientation

固定为竖屏,将相机采集到的视频帧转换为竖屏,在整个 RTC 链路中传递竖屏帧

landscape → const VideoOrientation

固定为横屏,将相机采集到的视频帧转换为横屏,在整个 RTC 链路中传递横屏帧

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
index → int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<VideoOrientation>
A constant List of the values in this enum, in order of their declaration.
[adaptive, portrait, landscape]