ZegoMixerInput class

Mixer input.

Configure the mix stream input stream ID, type, and the layout

Constructors

ZegoMixerInput(String streamID, ZegoMixerInputContentType contentType, dynamic layout, int soundLevelID, int volume, bool isAudioFocus, int audioDirection, {ZegoLabelInfo? label, ZegoMixRenderMode? renderMode, ZegoMixerImageInfo? imageInfo, int? cornerRadius, Map<String, String>? advancedConfig})
ZegoMixerInput.defaultConfig()

Properties

advancedConfig ↔ Map<String, String>?
Set advanced configuration. Please contact ZEGO technical support. On web platforms, this property does not take effect.
read / write
audioDirection ↔ int
The direction of the audio. Valid direction is between 0 to 360. Set -1 means disable. Default value is -1. On web platforms, this property does not take effect.
read / write
contentType ZegoMixerInputContentType
Mix stream content type
read / write
cornerRadius ↔ int?
Description: Video frame corner radius, in px. Required: False. Value range: Does not exceed the width and height of the video screen set by the layout parameter. Default value: 0.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
imageInfo ZegoMixerImageInfo?
User image information.
read / write
isAudioFocus ↔ bool
Whether the focus voice is enabled in the current input stream, the sound of this stream will be highlighted if enabled. On web platforms, this property does not take effect.
read / write
label ZegoLabelInfo?
Text watermark.
read / write
layout ↔ dynamic
Stream layout. When the mixed stream is an audio stream (that is, the ContentType parameter is set to the audio mixed stream type). Developers do not need to assign a value to this field, just use the SDK default.
read / write
renderMode ZegoMixRenderMode?
Video view render mode.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
soundLevelID ↔ int
If enable soundLevel in mix stream task, an unique soundLevelID is need for every stream
read / write
streamID ↔ String
Stream ID, a string of up to 256 characters. Caution: You cannot include URL keywords, otherwise publishing stream and playing stream will fails. Only support numbers, English characters and '-', '_'.
read / write
volume ↔ int
Input stream volume, valid range 0, 200, default is 100. 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