AudioProfileType enum

The audio profile.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

AudioProfileType()
const

Values

audioProfileDefault → const AudioProfileType

0: The default audio profile. For the interactive streaming profile: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps. For the communication profile: Windows: A sample rate of 16 kHz, audio encoding, mono, and a bitrate of up to 16 Kbps. Android/macOS/iOS: A sample rate of 32 kHz, audio encoding, mono, and a bitrate of up to 18 Kbps.

audioProfileSpeechStandard → const AudioProfileType

1: A sample rate of 32 kHz, audio encoding, mono, and a bitrate of up to 18 Kbps.

audioProfileMusicStandard → const AudioProfileType

2: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps.

audioProfileMusicStandardStereo → const AudioProfileType

3: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 80 Kbps. To implement stereo audio, you also need to call setAdvancedAudioOptions and set audioProcessingChannels to audioProcessingStereo in AdvancedAudioOptions.

audioProfileMusicHighQuality → const AudioProfileType

4: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 96 Kbps.

audioProfileMusicHighQualityStereo → const AudioProfileType

5: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 128 Kbps. To implement stereo audio, you also need to call setAdvancedAudioOptions and set audioProcessingChannels to audioProcessingStereo in AdvancedAudioOptions.

audioProfileIot → const AudioProfileType

6: A sample rate of 16 kHz, audio encoding, mono, and Acoustic Echo Cancellation (AES) enabled.

audioProfileNum → const AudioProfileType

Enumerator boundary.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<AudioProfileType>
A constant List of the values in this enum, in order of their declaration.