VideoEncodingSettingsConfig class
Settings config for how to encode a video track.
- Annotations
-
- @Freezed(copyWith: false)
Constructors
- VideoEncodingSettingsConfig({required int maxBitrate, required double maxFramerate, required double scaleResolutionDownBy})
-
constfactory
-
VideoEncodingSettingsConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxBitrate → int
-
Maximum bandwidth (bits/s) that the encoding is permitted to use for a track it encodes.
no setterinherited
- maxFramerate → double
-
Maximum frame rate (frames/s) that can be used to send the encoded data.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleResolutionDownBy → double
-
Factor by which to scale down the track's frame resolution.
no setterinherited
Methods
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited