IMFSourceBuffer interface

Represents a buffer which contains media data for a IMFMediaSourceExtension.

Members

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

Methods

The IMFSourceBuffer interface has these methods.

MethodDescription
Abort

Aborts the processing of the current media segment.

Append

Appends the specified media segment to the IMFSourceBuffer.

AppendByteStream

Appends the media segment from the specified byte stream to the IMFSourceBuffer.

GetAppendWindowEnd

Gets the timestamp for the end of the append window.

GetAppendWindowStart

Gets the timestamp for the start of the append window.

GetBuffered

Gets the buffered time range.

GetTimeStampOffset

Gets the timestamp offset for media segments appended to the IMFSourceBuffer.

GetUpdating

Gets a value that indicates if Append, AppendByteStream, or Remove is in process.

Remove

Removes the media segments defined by the specified time range from the IMFSourceBuffer.

SetAppendWindowEnd

Sets the timestamp for the end of the append window.

SetAppendWindowStart

Sets the timestamp for the start of the append window.

SetTimeStampOffset

Sets the timestamp offset for media segments appended to the IMFSourceBuffer.

 

Remarks

IMFSourceBuffer is used in conjunction with the IMFMediaSourceExtension.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

IDL

Mfmediaengine.idl

See also

Media Foundation Interfaces

 

 

Show: