PublicStreamingRegion class
合成公共流的每条流的布局信息
Constructors
- PublicStreamingRegion({required String uid, required String roomId, String alternateImage = '', required double x, required double y, required double w, required double h, int zorder = 0, double alpha = 1.0, StreamIndex streamType = StreamIndex.main, TranscoderContentControlType mediaType = TranscoderContentControlType.hasAudioAndVideo, VideoRenderMode renderMode = VideoRenderMode.hidden, required SourceCrop sourceCrop})
Properties
- alpha ↔ double
-
透明度,可选范围为
[0.0, 1.0]。必填read / write - alternateImage ↔ String
-
背景图片地址,iOS 适用
read / write
- h ↔ double
-
视频流对应区域高度相对整体画面的比例,取值的范围为
(0.0, 1.0]。必填read / write - hashCode → int
-
The hash code for this object.
read-onlyinherited
- mediaType ↔ TranscoderContentControlType
-
公共流内容类型。必填
read / write
- renderMode ↔ VideoRenderMode
-
视频显示模式。必填
read / write
- roomId ↔ String
-
媒体流所在房间的房间 ID。必填
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sourceCrop ↔ SourceCrop
-
用户视频布局的相对位置和大小
read / write
- streamType ↔ StreamIndex
-
公共流媒体类型。必填
read / write
- uid ↔ String
-
视频流发布用户的用户 ID。必填
read / write
- w ↔ double
-
视频流对应区域宽度相对整体画面的比例,取值的范围为
(0.0, 1.0]。必填read / write - x ↔ double
-
视频流对应区域左上角的横坐标相对整体画面的比例,取值的范围为
[0.0, 1.0)。必填read / write - y ↔ double
-
视频流对应区域左上角的纵坐标相对整体画面的比例,取值的范围为
[0.0, 1.0)。必填read / write - zorder ↔ int
-
用户视频布局在画布中的层级,取值范围为
[0, 100]read / write
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