NERoomLiveStreamVideoScaleMode enum
直播推流视频和画布的适应属性
Constructors
- NERoomLiveStreamVideoScaleMode()
-
const
Values
- kFit → const NERoomLiveStreamVideoScaleMode
-
适应视频,视频尺寸等比缩放。优先保证视频内容全部显示。若视频尺寸与显示视窗尺寸不一致,视窗未被填满的区域填充背景色。
- kCropFill → const NERoomLiveStreamVideoScaleMode
-
(默认)适应区域,视频尺寸等比缩放。保证所有区域被填满,视频超出部分会被裁剪。
Properties
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<
NERoomLiveStreamVideoScaleMode> - A constant List of the values in this enum, in order of their declaration.