IMFByteStreamHandler interface

Creates a media source from a byte stream.

Methods

The IMFByteStreamHandler interface has these methods.

Method Description
IMFByteStreamHandler::BeginCreateObject Begins an asynchronous request to create a media source from a byte stream.
IMFByteStreamHandler::CancelObjectCreation Cancels the current request to create a media source.
IMFByteStreamHandler::EndCreateObject Completes an asynchronous request to create a media source.
IMFByteStreamHandler::GetMaxNumberOfBytesRequiredForResolution Retrieves the maximum number of bytes needed to create the media source or determine that the byte stream handler cannot parse this stream.

Remarks

Applications do not use this interface directly. This interface is exposed by byte-stream handlers, which are used by the source resolver. When the byte-stream handler is given a byte stream, it parses the stream and creates a media source. Byte-stream handlers are registered by file name extension or MIME type.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h

See Also

Media Foundation Interfaces

Scheme Handlers and Byte-Stream Handlers