NERtcLiveStreamUserTranscoding class Null safety

Live streaming participants layout

Constructors

NERtcLiveStreamUserTranscoding({required int uid, bool videoPush = true, bool audioPush = true, int adaption = NERtcLiveStreamVideoScaleMode.liveStreamModeVideoScaleFit, int x = 0, int y = 0, int width = 0, int height = 0})

Properties

adaption int
Video cropping mode. For more information, see NERtcLiveStreamVideoScaleMode.
read / write
audioPush bool
Specify if the audio stream of the user is published.
read / write
hashCode int
The hash code for this object.
read-only, inherited
height int
The width of the view in the canvas. If the bottom of the view extends beyond the canvas, the setting becomes invalid.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uid int
User uid
read / write
videoPush bool
Specify if the video stream of the user is published. The option is invalid if the streaming mode is set to NERtcLiveStreamMode.liveStreamModeAudio.
read / write
width int
The width of the view in the canvas. If the right side of the view extends beyond the canvas, the setting becomes invalid.
read / write
x int
The left distance between the canvas and the view
read / write
y int
The distance between the canvas and view at the top.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited