LiveTranscodingRegion class
单个视频流在合流中的布局信息。
Properties
- alpha ↔ double
-
透明度,范围为
[0.0, 1.0]
。getter/setter pair - applySpatialAudio ↔ bool
-
设置某用户是否应用空间音频效果。
getter/setter pair
- contentControl ↔ TranscoderContentControlType
-
合流转推包含内容
getter/setter pair
- cornerRadius ↔ double
-
圆角半径相对画布宽度的比例。默认值为
0.0
。getter/setter pair - data ↔ Uint8List?
-
图片合流区域类型对应的数据
getter/setter pair
- dataParam ↔ TranscoderLayoutRegionDataParam?
-
合流布局区域数据的对应参数
getter/setter pair
- h ↔ double
-
用户视频高度相对用户原始视频高度的比例。相对值,范围为
[0.0, 1.0]
。getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- isScreen ↔ bool
-
是否是屏幕共享流
getter/setter pair
- localUser ↔ bool
-
是否是本地用户
getter/setter pair
- renderMode ↔ VideoRenderMode
-
渲染模式
getter/setter pair
- roomId ↔ String
-
房间 ID 。必填。
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spatialPosition ↔ Position
-
空间位置
getter/setter pair
- type ↔ TranscoderLayoutRegionType
-
合流布局区域类型
getter/setter pair
- uid ↔ String
-
视频流发布用户的用户 ID 。
getter/setter pair
- w ↔ double
-
用户视频宽度相对用户原始视频宽度的比例。相对值,范围为
[0.0, 1.0]
。getter/setter pair - x ↔ double
-
用户视频布局相对画布左侧的偏移量。相对值,范围为
[0.0, 1.0]
。getter/setter pair - y ↔ double
-
用户视频布局相对画布顶端的偏移量。相对值,范围为
[0.0, 1.0]
。getter/setter pair - zorder ↔ int
-
用户视频布局在画布中的层级。0为底层,值越大越上层,范围为
[0, 100]
。getter/setter pair
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