Microsoft DirectX 8.1 (C++) |
The IAMMultiMediaStream interface exposes Microsoft DirectShow functionality to multimedia stream developers. You can use its methods to automatically generate filter graphs, open files or monikers for playback or capture of incoming data, and render a given filter graph.
Implement this interface when you want to provide multimedia stream-based support for DirectShow media types in your applications.
Use this interface when you want to control DirectShow-supported media playback in your multimedia streaming applications.
In addition to the methods inherited from IUnknown, the IAMMultiMediaStream interface exposes the following methods.
Method | Description |
AddMediaStream | Adds the specified media stream to the current filter graph. |
GetFilter | Retrieves the specified filter from the current filter graph. |
GetFilterGraph | Retrieves the associated filter graph's IGraphBuilder interface. |
Initialize | Sets the stream type. If the pFilterGraph parameter is non-NULL the filter graph passed in is used for the stream. |
OpenFile | Opens and automatically creates a filter graph for the specified media file. If DirectShow doesn't support the file format, this method does nothing. |
OpenMoniker | Opens a file or device moniker; you can read media data from this moniker if DirectShow supports the media type. |
Render | Renders the current filter graph. |