IMFSampleOutputStream Interface

Writes media samples to a byte stream.

Syntax

interface IMFSampleOutputStream : public IUnknown  

Remarks

A writeable byte stream can optionally implement this interface.

This interface enables the caller to send media samples to the byte stream for writing, instead of using the IMFByteStream::BeginWrite method to write blobs of untyped data. The byte stream can use the information contained in the media sample to optimize how it writes the data. For example, a byte stream that sends media data over a network can optimize based on the time stamp.

To get a pointer to this interface, call QueryInterface on the byte stream object.

Requirements

Header: Declared in mfobjects.h (include mfidl.h).