MediaExtensionManager class

Applies to Windows and Windows Phone

Registers a media parser or codec.

Syntax


var mediaExtensionManager = new Windows.Media.MediaExtensionManager();

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

Members

The MediaExtensionManager class has these types of members:

Constructors

The MediaExtensionManager class has these constructors.

ConstructorDescription
MediaExtensionManager Creates a new MediaExtensionManager object that is used to register a media parser or codec.

 

Methods

The MediaExtensionManager class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
RegisterAudioDecoder(String, Guid, Guid) Registers an audio decoder for the specified input and output media types.
RegisterAudioDecoder(String, Guid, Guid, IPropertySet) Registers an audio decoder for the specified input and output media types with an optional configuration parameter.
RegisterAudioEncoder(String, Guid, Guid) Registers an audio encoder for the specified input and output media types.
RegisterAudioEncoder(String, Guid, Guid, IPropertySet) Registers an audio encoder for the specified input and output media types with an optional configuration parameter.
RegisterByteStreamHandler(String, String, String) Registers a byte-stream handler by file name extension and MIME type.
RegisterByteStreamHandler(String, String, String, IPropertySet) Registers a byte-stream handler by file name extension and MIME type, with an optional configuration parameter.
RegisterSchemeHandler(String, String) Registers a scheme handler for the specified URL scheme.
RegisterSchemeHandler(String, String, IPropertySet) Registers a scheme handler for the specified URL scheme with an optional configuration parameter.
RegisterVideoDecoder(String, Guid, Guid) Registers an video decoder for the specified input and output media types.
RegisterVideoDecoder(String, Guid, Guid, IPropertySet) Registers a video decoder for the specified input and output media types with an optional configuration parameter.
RegisterVideoEncoder(String, Guid, Guid) Registers a video encoder for the specified input and output media types.
RegisterVideoEncoder(String, Guid, Guid, IPropertySet) Registers a video encoder for the specified input and output media types with an optional configuration parameter.

 

Remarks

Media extensions have the following limitations.

  • A plugin can override inbox media formats.
  • The registration is local to the application and does not affect other applications.
  • The registration persists for the lifetime of the MediaExtensionManager instance.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

See also

Samples
Media extension sample
Transcoding media sample
Real-Time communication sample

 

 

Show:
© 2014 Microsoft