AudioEncoderConfiguration class Null safety

The requested audio encoder configuration

Annotations

Constructors

AudioEncoderConfiguration(String name, int useCount, String encodingType, int bitRate, int sampleRate, Multicast multiCast, String sessionTimeout)
AudioEncoderConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

bitRate int
The output bitrate in kbps.
@JsonKey(name: 'Bitrate', fromJson: OnvifUtil.mappedToInt), final
encodingType String
Audio codec used for encoding the audio input (either G.711, G.726 or AAC)
@JsonKey(name: 'Encoding', fromJson: OnvifUtil.mappedToString), final
hashCode int
The hash code for this object.
read-only, inherited
multiCast Multicast
@JsonKey(name: 'Multicast'), final
name String
User readable name. Length up to 64 characters.
@JsonKey(name: 'Name', fromJson: OnvifUtil.mappedToString), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sampleRate int
The output sample rate in kHz.
@JsonKey(name: 'SampleRate', fromJson: OnvifUtil.mappedToInt), final
sessionTimeout String
The rtsp session timeout for the related audio 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