IMFMediaSourceExtension interface (mfmediaengine.h)

Provides functionality for the Media Source Extension (MSE).

Inheritance

The IMFMediaSourceExtension interface inherits from the IUnknown interface. IMFMediaSourceExtension also has these types of members:

Methods

The IMFMediaSourceExtension interface has these methods.

 
IMFMediaSourceExtension::AddSourceBuffer

Adds a IMFSourceBuffer to the collection of buffers associated with the IMFMediaSourceExtension.
IMFMediaSourceExtension::GetActiveSourceBuffers

Gets the source buffers that are actively supplying media data to the media source.
IMFMediaSourceExtension::GetDuration

Gets the duration of the media source in 100-nanosecond units.
IMFMediaSourceExtension::GetReadyState

Gets the ready state of the media source.
IMFMediaSourceExtension::GetSourceBuffer

Gets the IMFSourceBuffer at the specified index in the collection of buffers.
IMFMediaSourceExtension::GetSourceBuffers

Gets the collection of source buffers associated with this media source.
IMFMediaSourceExtension::IsTypeSupported

Gets a value that indicates if the specified MIME type is supported by the media source.
IMFMediaSourceExtension::RemoveSourceBuffer

Removes the specified source buffer from the collection of source buffers managed by the IMFMediaSourceExtension object.
IMFMediaSourceExtension::SetDuration

Sets the duration of the media source in 100-nanosecond units.
IMFMediaSourceExtension::SetEndOfStream

Indicate that the end of the media stream has been reached.

Remarks

Media Source Extensions (MSE) is a World Wide Web Consortium (W3C) standard that extends the HTML5 media elements to enable dynamically changing the media stream without the use of plug-ins. The IMFMediaSourceExtension interface and the related Microsoft Win32 API implement MSE and are expected to only be called by web browsers implementing MSE.

The MSE media source keeps track of the ready state of the of the source as well as a list of IMFSourceBuffer objects which provide media data for the source.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header mfmediaengine.h

See also

Media Foundation Interfaces