MixedStreamLayoutRegionConfig class
Layout information for one of the video streams or image to be mixed.(New)
After starting to push streams to CDN and mixing multiple video streams, you can set the layout information for each of them.
Properties
- alpha → double
-
The opacity in range of (0.0, 1.0]. The lower value, the more transparent. The default value is 1.0.
final
- applySpatialAudio → bool
-
Sets whether a user applies spatial audio effects.
final
- cornerRadius → double
-
The proportion of the radius to the width of the canvas.
0.0
by default.final - hashCode → int
-
The hash code for this object.
no setterinherited
- heightProportion → double
-
The normalized height of the user's view, ranging within
0.0, 1.0
. The default value is 1.0.final - imageWaterMark → Uint8List?
-
The RGBA data of the mixing image. Put in null when mixing video streams.
final
- imageWaterMarkConfig → MixedStreamLayoutRegionImageWaterMarkConfig?
-
Image parameters for stream mixing. Set it to null when mixing video streams.
final
- isLocalUser → bool
-
Whether the source user of the stream is a local user.
final
- locationX → double
-
The normalized horizontal coordinate value of the top left end vertex of the user's view, ranging within [0.0, 1.0). The default value is 0.0.
final
- locationY → double
-
The normalized vertical coordinate value of the top left end vertex of the user's view, ranging within [0.0, 1.0). The default value is 0.0.
final
- mediaType → MixedStreamMediaType
-
The stream mixing content type. The default value is
audioAndVideo
.final - regionContentType → MixedStreamLayoutRegionType
-
Stream mixing region type.
final
- renderMode → MixedStreamRenderMode
-
The render mode. The default value is 1.
final
- roomId → String
-
The room ID of the media stream. Required.
If the media stream is the stream forwarded by RTCRoom.startForwardStreamToRooms, you must set the roomID to the room ID of the target room.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spatialPosition → Position
-
Spatial position.
final
- streamType → MixedStreamVideoType
-
The mixed stream type, the default value is
Main
.final - uid → String
-
The user ID of the user who publishes the video stream. Required.
final
- widthProportion → double
-
The normalized width of the user's view, ranging within
0.0, 1.0
. The default value is 1.0.final - zOrder → int
-
The layer on which the video is rendered. The range is
0, 100
. 0 for the bottom layer, and 100 for the top layer. The default value is 0.final
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