VideoEncoderConfiguration class Null safety

If the video encoder configuration token is already known, the encoder configuration can be fetched through the GetVideoEncoderConfiguration command.

Annotations

Constructors

VideoEncoderConfiguration({required String name, required int useCount, required String encoding, required Resolution resolution, required dynamic quality, required RateControl rateControl, Mpeg4? mpeg4, H264? h264, required Multicast multiCast, required dynamic sessionTimeout})
VideoEncoderConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

encoding String
Used video codec, either Jpeg, H.264 or Mpeg4
@JsonKey(name: 'Encoding', fromJson: OnvifUtil.mappedToString), final
h264 H264?
Optional element to configure H.264 related parameters.
@JsonKey(name: 'H264'), final
hashCode int
The hash code for this object.
read-only, inherited
mpeg4 Mpeg4?
Optional element to configure Mpeg4 related parameters.
@JsonKey(name: 'MPEG4'), final
multiCast Multicast
Defines the multicast settings that could be used for video streaming.
@JsonKey(name: 'Multicast'), final
name String
User readable name. Length up to 64 characters.
@JsonKey(name: 'Name', fromJson: OnvifUtil.mappedToString), final
quality → dynamic
Relative value for the video quantizers and the quality of the video. A high value within supported quality range means higher quality
@JsonKey(name: 'Quality', fromJson: OnvifUtil.mappedToDouble), final
rateControl RateControl
Optional element to configure rate control related parameters.
@JsonKey(name: 'RateControl'), final
resolution Resolution
Configured video resolution
@JsonKey(name: 'Resolution'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sessionTimeout → dynamic
The rtsp session timeout for the related video stream
@JsonKey(name: 'SessionTimeout', fromJson: OnvifUtil.mappedToString), final
useCount int
Number of internal references currently using this configuration. This informational parameter is read-only. Deprecated for Media2 Service.
@JsonKey(name: 'UseCount', fromJson: OnvifUtil.mappedToInt), final

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