IMediaStreamFilter interface (amstream.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note  This interface is deprecated. New applications should not use it.
 
The IMediaStreamFilter interface is supported by the Media Stream filter, which is used internally by the multimedia stream object. Applications should not use this interface.

Inheritance

The IMediaStreamFilter interface inherits from IBaseFilter. IMediaStreamFilter also has these types of members:

Methods

The IMediaStreamFilter interface has these methods.

 
IMediaStreamFilter::AddMediaStream

Note  This interface is deprecated. New applications should not use it. The AddMediaStream method connects a media stream object to the underlying filter graph.
IMediaStreamFilter::EndOfStream

Note  This interface is deprecated. New applications should not use it. The EndOfStream method signals the end of a stream. The Media Stream filter's input pins call this method on the filter.
IMediaStreamFilter::EnumMediaStreams

Note  This interface is deprecated. New applications should not use it. The EnumMediaStreams method retrieves a media stream, specified by index.
IMediaStreamFilter::Flush

Note  This interface is deprecated. New applications should not use it. The Flush method notifies the filter that one of its pins has flushed data. The filter's input pins call this method.
IMediaStreamFilter::GetCurrentStreamTime

Note  This interface is deprecated. New applications should not use it. The GetCurrentStreamTime method retrieves the current stream time.
IMediaStreamFilter::GetMediaStream

Note  This interface is deprecated. New applications should not use it. The GetMediaStream method retrieves a media stream, specified by purpose ID.
IMediaStreamFilter::ReferenceTimeToStreamTime

Note  This interface is deprecated. New applications should not use it. The ReferenceTimeToStreamTime method converts a reference time to stream time.
IMediaStreamFilter::SupportSeeking

Note  This interface is deprecated. New applications should not use it. The SupportSeeking method initializes the filter to support seeking. The multimedia stream object calls this method.
IMediaStreamFilter::WaitUntil

Note  This interface is deprecated. New applications should not use it. The WaitUntil method causes the filter to block until a specified stream time. The filter's pins call this method. They can interrupt the wait by flushing the filter.

Requirements

Requirement Value
Target Platform Windows
Header amstream.h

See also

IBaseFilter