RateControl class Null safety

Optional element to configure rate control related parameters.

Annotations

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
@JsonKey(name: 'BitrateLimit', fromJson: OnvifUtil.mappedToInt), 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 ...)
@JsonKey(name: 'EncodingInterval', fromJson: OnvifUtil.mappedToInt), final
frameRateLimit int
Maximum output framerate in fps. If an EncodingInterval is provided the resulting encoded framerate will be reduced by the given factor.
@JsonKey(name: 'FrameRateLimit', fromJson: OnvifUtil.mappedToInt), final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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