as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

AudioDecoderConfig

The AudioDecoderConfig defines all the attributes required for audio decode use case.

Applications should create this class to query the audio decoders supported on the device.

Constructors

new AudioDecoderConfig()

new AudioDecoderConfig(): AudioDecoderConfig

Returns

AudioDecoderConfig

Accessors

audioFormat

Get Signature

get audioFormat(): AudioFormat

Returns

AudioFormat

set using the setter.

Set Signature

set audioFormat(format): void

Sets the AudioFormat.

This can be used to query on different properties supported by the audio codecs on the device.

See

AudioFormat for further details

Parameters
format

AudioFormat

Returns

void


codecFeatures

Get Signature

get codecFeatures(): DecoderFeatures

Returns

DecoderFeatures

set by the setter.

Set Signature

set codecFeatures(features): void

Sets the DecoderFeatures.

This can be used to query on decoder features like decryption.

See

DecoderFeatures for further details.

Parameters
features

DecoderFeatures

Returns

void


formatProfileLevel

Get Signature

get formatProfileLevel(): MediaFormatProfileLevel

Returns

MediaFormatProfileLevel

set using the setter.

Set Signature

set formatProfileLevel(profileLevel): void

Sets the MediaFormatProfileLevel.

This can be used to query on the profile levels supported.

See

MediaFormatProfileLevel for further details

Parameters
profileLevel

MediaFormatProfileLevel

Returns

void


mediaCodecFeatures

Get Signature

get mediaCodecFeatures(): MediaCodecFeatures

Returns

MediaCodecFeatures

set using setter.

Set Signature

set mediaCodecFeatures(features): void

Sets the MediaCodecFeatures.

This can be used to query on media codec features supported by the device.

See

MediaCodecFeatures for more details.

Parameters
features

MediaCodecFeatures

Returns

void


mediaFormat

Get Signature

get mediaFormat(): MediaFormat

Returns

MediaFormat

set using the setter.

Set Signature

set mediaFormat(format): void

Sets the MediaFormat.

This can be used to query on the format of the media supported by the device.

See

MediaFormat for further details.

Parameters
format

MediaFormat

Returns

void


Last updated: Sep 30, 2025