IMFMediaEngineEx::SetSourceFromByteStream method

Opens a media resource from a byte stream.

Syntax

HRESULT SetSourceFromByteStream(
  IMFByteStream *pByteStream,
  BSTR          pURL
);

Parameters

pByteStream

A pointer to the IMFByteStream interface of the byte stream.

pURL

The URL of the byte stream.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfmediaengine.h

See Also

IMFMediaEngineEx