VideoEncoder2Configuration class

A video encoder configurations.

Annotations
  • @JsonSerializable()

Constructors

VideoEncoder2Configuration({required String token, required String name, int? useCount, required int govLength, int? anchorFrameDistance, required String profile, bool? guaranteedFrameRate, required String encoding, required VideoResolution2 resolution, required VideoRateControl2 rateControl, required MulticastConfiguration multicast, required double quality})
VideoEncoder2Configuration.fromJson(Map<String, dynamic> json)
factory

Properties

anchorFrameDistance int?
Distance between anchor frames of type I-Frame and P-Frame. '1' indicates no B-Frames, '2' indicates that every 2nd frame is encoded as B-Frame, '3' indicates a structure like IBBPBBP..., etc.
final
encoding String
Video Media Subtype for the video format. For definitions see tt:VideoEncodingMimeNames and IANA Media Types.
final
govLength int
Group of Video frames length. Determines typically the interval in which the I-Frames will be coded. An entry of 1 indicates I-Frames are continuously generated. An entry of 2 indicates that every 2nd image is an I-Frame, and 3 only every 3rd frame, etc. The frames in between are coded as P or B Frames.
final
guaranteedFrameRate bool?
A value of true indicates that frame rate is a fixed value rather than an upper limit, and that the video encoder shall prioritize frame rate over all other adaptable configuration values such as bitrate. Default is false.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
multicast MulticastConfiguration
Defines the multicast settings that could be used for video streaming.
final
name String
User readable name. Length up to 64 characters.
final
profile String
The encoder profile as defined in tt:VideoEncodingProfiles.
final
quality double
Relative value for the video quantizers and the quality of the video. A high value within supported quality range means higher quality
final
rateControl VideoRateControl2
Optional element to configure rate control related parameters.
final
resolution VideoResolution2
Configured video resolution
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
Token that uniquely references this configuration. Length up to 64 characters.
final
useCount int?
Number of internal references currently using this configuration. This informational parameter is read-only. Deprecated for Media2 Service.
final

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