AudioEncoding class

A type that represents audio encoding information.

Available extensions
Annotations

Constructors

AudioEncoding({required int maxBitrate, Priority? bitratePriority, Priority? networkPriority})
const

Properties

bitratePriority Priority?
Priority for bandwidth allocation.
final
hashCode int
The hash code for this object.
no setteroverride
maxBitrate int
Maximum bitrate for the audio track.
final
networkPriority Priority?
Priority for DSCP marking. Requires RTCConfiguration.isDscpEnabled to be true.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? maxBitrate, Priority? bitratePriority, Priority? networkPriority}) AudioEncoding
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toRTCRtpEncoding() RTCRtpEncoding

Available on AudioEncoding, provided by the AudioEncodingExt extension

toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

presetMusic → const AudioEncoding
presetMusicHighQuality → const AudioEncoding
presetMusicHighQualityStereo → const AudioEncoding
presetMusicStereo → const AudioEncoding
presets → const List<AudioEncoding>
presetSpeech → const AudioEncoding
presetTelephone → const AudioEncoding