RateControl class

Optional element to configure rate control related parameters.

Annotations
  • @JsonSerializable()

Constructors

RateControl({required int frameRateLimit, required int encodingInterval, required int bitrateLimit})
RateControl.fromJson(Map<String, dynamic> json)
factory

Properties

bitrateLimit int
the maximum output bitrate in kbps
final
encodingInterval int
Interval at which images are encoded and transmitted. (A value of 1 means that every frame is encoded, a value of 2 means that every 2nd frame is encoded ...)
final
frameRateLimit int
Maximum output framerate in fps. If an EncodingInterval is provided the resulting encoded framerate will be reduced by the given factor.
final
hashCode int
The hash code for this object.
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>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited