MediaExtensionManager class
Registers a media parser or codec.
Syntax
var mediaExtensionManager = new Windows.Media.MediaExtensionManager();
Attributes
- ActivatableAttribute(NTDDI_WIN8)
- MarshalingBehaviorAttribute(Agile)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
Members
The MediaExtensionManager class has these types of members:
Constructors
The MediaExtensionManager class has these constructors.
| Constructor | Description |
|---|---|
| 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.
| Method | Description |
|---|---|
| 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] |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
