AudioEncoderConfiguration class

The requested audio encoder configuration

Annotations
  • @JsonSerializable()

Constructors

AudioEncoderConfiguration(String name, int useCount, AudioCodecEncoding audioCodecEncoding, int bitRate, int sampleRate, MulticastConfiguration? multiCast, String sessionTimeout)
AudioEncoderConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

audioCodecEncoding AudioCodecEncoding
Audio codec used for encoding the audio input (either G.711, G.726 or AAC)
final
bitRate int
The output bitrate in kbps.
final
hashCode int
The hash code for this object.
no setterinherited
multiCast MulticastConfiguration?
final
name String
User readable name. Length up to 64 characters.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
The output sample rate in kHz.
final
sessionTimeout String
The RTSP session timeout for the related audio stream
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

Static Methods

mappedToAudioCodecEncoding(Map<String, dynamic> value) AudioCodecEncoding