ZegoMixerTask class

Mix stream task object.

This class is the configuration class of the stream mixing task. When a stream mixing task is requested to the ZEGO RTC server, the configuration of the stream mixing task is required. This class describes the detailed configuration information of this stream mixing task.

Constructors

ZegoMixerTask(String taskID)
Create a mix stream task object with TaskID

Properties

advancedConfig ↔ Map<String, String>
Set advanced configuration, such as specifying video encoding and others. If you need to use it, contact ZEGO technical support. On web platforms, this property does not take effect.
read / write
audioConfig ZegoMixerAudioConfig
The audio config of the task
read / write
backgroundColor ↔ int
Mix stream background color, The color value corresponding to RGBA is 0xRRGGBBAA, and setting the transparency of the background color is currently not supported. The AA in 0xRRGGBBAA is 00. For example, select RGB as #87CEFA as the background color, this parameter passes 0x87CEFA00.
read / write
backgroundImageURL ↔ String
The background image URL of the task
read / write
enableSoundLevel ↔ bool
Enable or disable sound level callback for the task. If enabled, then the remote player can get the soundLevel of every stream in the inputlist by onMixerSoundLevelUpdate callback. On web platforms, this property does not take effect.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
inputList ↔ List<ZegoMixerInput>
The input list of the task
read / write
minPlayStreamBufferLength ↔ int
Description: Sets the lower limit of the interval range for the adaptive adjustment of the stream playing cache of the stream mixing server. In the real-time chorus KTV scenario, slight fluctuations in the network at the push end may cause the mixed stream to freeze. At this time, when the audience pulls the mixed stream, there is a high probability of the problem of freeze. By adjusting the lower limit of the interval range for the adaptive adjustment of the stream playing cache of the stream mixing server, it can optimize the freezing problem that occurs when playing mixing streams at the player end, but it will increase the delay. It is not set by default, that is, the server uses its own configuration values. It only takes effect for the new input stream setting, and does not take effect for the input stream that has already started mixing.Value Range: 0,10000, exceeding the maximum value will result in a failure of the stream mixing request. On web platforms, this property does not take effect.
read / write
mixImageCheckMode ZegoMixImageCheckMode
Set the mixed stream image check mode.
read / write
outputList ↔ List<ZegoMixerOutput>
The output list of the task
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
streamAlignmentMode ZegoStreamAlignmentMode
The stream mixing alignment mode. On web platforms, this property does not take effect.
read / write
taskID ↔ String
The task ID of the task
read / write
userData ↔ Uint8List
User data, the length of user data should not be more than 1000 bytes,After setting, the streaming party can obtain the SEI content by listening to the callback of onPlayerRecvSEI.
read / write
videoConfig ZegoMixerVideoConfig
The audio config of the task
read / write
watermark ZegoWatermark
The watermark of the task
read / write
whiteboard ZegoMixerWhiteboard
Mix stream whiteboard. On web platforms, this property does not take effect.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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