Enumeration AudioProfileType

The audio profile.

Enumeration Members

AudioProfileDefault: 0

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: A sample rate of 32 kHz, audio encoding, mono, and a bitrate of up to 18 Kbps.

AudioProfileIot: 6

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

AudioProfileMusicHighQuality: 4

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

AudioProfileMusicHighQualityStereo: 5

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.

AudioProfileMusicStandard: 2

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

AudioProfileMusicStandardStereo: 3

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.

AudioProfileNum: 7

Enumerator boundary.

AudioProfileSpeechStandard: 1

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

Generated using TypeDoc