TranscodingUser class

The transcodingUser class, which defines the audio and video properties in the CDN live. Meta supports a maximum of 17 transcoding users in a CDN live streaming channel.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

TranscodingUser(int uid, int? x, int? y, {int? width, int? height, int? zOrder, double? alpha, AudioChannel? audioChannel})
Constructs a TranscodingUser

Properties

alpha double?
The transparency of the video frame of the user in the CDN live stream that ranges between 0.0 and 1.0. 0.0 means that the video frame is completely transparent and 1.0 means opaque. The default value is 1.0.
getter/setter pair
audioChannel AudioChannel?
The audio channel ranging between 0 and 5. The default value is 0. See AudioChannel.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
Height of the video frame of the user on the CDN live streaming. The default value is 640.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid int
ID of the user in the CDN live streaming.
getter/setter pair
width int?
Width of the video frame of the user on the CDN live streaming. The default value is 360.
getter/setter pair
x int?
Horizontal position of the video frame of the user from the top left corner of the CDN live streaming.
getter/setter pair
y int?
Vertical position of the video frame of the user from the top left corner of the CDN live streaming.
getter/setter pair
zOrder int?
The layer index of the video frame. An integer. The value range is 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