VideoMixerSettings class
Constraints on the video mixer settings.
This class represents configuration options for the video mixer,
including rendering mode, mute state, and the main video track index.
It is immutable and supports JSON serialization via freezed and
json_serializable.
Constructors
- VideoMixerSettings({VideoRenderingMode mode, bool isMuted, int mainTrack})
-
constfactory
-
VideoMixerSettings.fromJson(Map<
String, dynamic> json) -
Creates a VideoMixerSettings instance from a JSON map.
factory
Properties
-
copyWith
→ $VideoMixerSettingsCopyWith<
VideoMixerSettings> -
Create a copy of VideoMixerSettings
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMuted → bool
-
Whether the video output is muted.
no setterinherited
- mainTrack → int
-
Index of the main video track.
no setterinherited
- mode → VideoRenderingMode
-
Specifies how video frames are rendered.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this VideoMixerSettings to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited