Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IMediaDescriptorFactory2

interface IMediaDescriptorFactory2
Extends IMediaDescriptorFactory MediaDescriptor Module Factory Interface v2 extends IMediaDescriptorFactory Allows clients to create a IMediaConfig for Audio Decryptor usecases in addition to the previously declared Audio Decoder, Audio Encoder, Video Decoder and Video Encoder types in IMediaDescriptorFactory

Methods

createMediaConfigForAudioDecryptor()

IMediaConfig* createMediaConfigForAudioDecryptor()
Creates an IMediaConfig configuration object for Audio Decryptor. After getting object IMediaConfig, applications need to query below interfaces to get the interfaces object for setting formats and features. Supported interfaces for Audio Decryptor usecase are:- IAudioDecryptorFormat, IAudioFormat, IDecryptorFeatures, IAudioDecryptorFeatures Various usecases of this configuration.
  1. To set the required configuration using setter APIs.
  2. check capabilities for the configuration using queryMediaCapabilities API.
Once the object is created for Audio Decryptor, all the queries to interfaces specific to video/audio decoder/encoder would return null pointer.

Returns

IMediaConfig* IMediaConfig configuration instance.
Last modified on October 29, 2026