IMFMediaSourceExtension
TOC
Collapse the table of content
Expand the table of content

IMFMediaSourceExtension interface

Provides functionality for the Media Source Extension (MSE).

Members

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

Methods

The IMFMediaSourceExtension interface has these methods.

MethodDescription
AddSourceBuffer

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

GetActiveSourceBuffers

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

GetDuration

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

GetReadyState

Gets the ready state of the media source.

GetSourceBuffer

Gets the IMFSourceBuffer at the specified index in the collection of buffers.

GetSourceBuffers

Gets the collection of source buffers associated with this media source.

IsTypeSupported

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

RemoveSourceBuffer

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

SetDuration

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

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

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

IDL

Mfmediaengine.idl

 

 

Community Additions

ADD
Show:
© 2016 Microsoft