VideoEncodingSettingsByQuality class Null safety
Custom video track encoding configurations for each quality level.
Default values are equivalent to: VideoEncodingSettingsByQuality( // 320x180 @ 10 fps low: VideoEncodingSettings(maxBitrate: 80000, maxFramerate: 10, scaleResolutionDownBy: 4), // 1280x720 @ 30 fps medium: VideoEncodingSettings(maxBitrate: 520000, maxFramerate: 30, scaleResolutionDownBy: 1), high: null, );
- Annotations
-
- @Freezed(copyWith: false)
Constructors
- VideoEncodingSettingsByQuality({required VideoEncodingSettings low, VideoEncodingSettings? medium, VideoEncodingSettings? high})
-
constfactory
-
VideoEncodingSettingsByQuality.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- high → VideoEncodingSettings?
-
read-onlyinherited
- low → VideoEncodingSettings
-
read-onlyinherited
- medium → VideoEncodingSettings?
-
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited