VideoOrientation enum Null safety

视频帧朝向

Constants

adaptive → const VideoOrientation

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

const VideoOrientation(0)
landscape → const VideoOrientation

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

const VideoOrientation(2)
portrait → const VideoOrientation

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

const VideoOrientation(1)
values → const List<VideoOrientation>

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

const List<VideoOrientation>

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