VideoEncodingSettingsConfigUpdate class
Updates settings config for how to encode a video track.
- Annotations
-
- @Freezed(toJson: true)
Constructors
-
VideoEncodingSettingsConfigUpdate.set({Update<
int> ? maxBitrate, Update<double> ? maxFrameRate, Update<double> ? scaleResolutionDownBy}) -
Updates video encoding settings using specific values.
constfactory
Properties
-
copyWith
→ $VideoEncodingSettingsConfigUpdateCopyWith<
VideoEncodingSettingsConfigUpdate> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxBitrate
→ Update<
int> ? -
no setterinherited
-
maxFrameRate
→ Update<
double> ? -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scaleResolutionDownBy
→ Update<
double> ? -
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult set(_VideoEncodingSettingsConfigUpdate value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? set(_VideoEncodingSettingsConfigUpdate value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult set(_VideoEncodingSettingsConfigUpdate value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult set(Update< int> ? maxBitrate, Update<double> ? maxFrameRate, Update<double> ? scaleResolutionDownBy)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult set(Update< int> ? maxBitrate, Update<double> ? maxFrameRate, Update<double> ? scaleResolutionDownBy)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? set(Update< int> ? maxBitrate, Update<double> ? maxFrameRate, Update<double> ? scaleResolutionDownBy)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
fromDefaults
→ const Update<
VideoEncodingSettingsConfigUpdate> - Restores video encoding settings to their default values. See VideoEncodingSettingsConfigsByQuality.