Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaExtensionManager class

Registers a media parser or codec.

Syntax


public sealed class MediaExtensionManager

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 (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object
Samples
Media extension sample
Transcoding media sample
Real-Time communication sample
Real-time communication sample (Windows 10)

 

 

Show: