Microsoft DirectX 9.0

IAMMediaStream Interface

The IAMMediaStream interface handles the internal connections between Microsoft DirectShow filters and filter graphs in applications that use multimedia streaming. This enables applications to automatically negotiate the transfer and conversion of data from the source to the application without having to write code to handle the connection, transfer of data, data conversion, and actual data rendering or file storage. This provides a uniform and predictable method of data access and control.

This interface isn't intended for implementation or use by application developers.

In addition to the methods inherited from IMediaStream, the IAMMediaStreaminterface exposes the following methods.

Method Description
Initialize Creates and initializes a new media stream with the specified stream type and purpose ID.
JoinAMMultiMediaStream The IAMMultiMediaStream::AddMediaStream method calls this method, which adds the specified media stream to the current multimedia stream.
JoinFilter Connects a media stream to a media stream filter in the underlying filter graph.
JoinFilterGraph Connects a media stream filter to a filter graph.
SetState Sets the filter state.