IAMGraphStreams interface (strmif.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.]

The IAMGraphStreams interface controls a filter graph that renders a live source. A live source is one that streams data in real time, such as a capture device or a network broadcast. The Filter Graph Manager implements this interface.

Applications can use this interface to specify how the graph handles latency and synchronization when it renders a live source. For more information, see Live Sources.

Inheritance

The IAMGraphStreams interface inherits from the IUnknown interface. IAMGraphStreams also has these types of members:

Methods

The IAMGraphStreams interface has these methods.

 
IAMGraphStreams::FindUpstreamInterface

The FindUpstreamInterface method searches the filter graph for a specified interface, upstream from a specified pin.
IAMGraphStreams::SetMaxGraphLatency

The SetMaxGraphLatency method sets the maximum latency for the graph. You must call the IAMGraphStreams::SyncUsingStreamOffset method before calling this method.
IAMGraphStreams::SyncUsingStreamOffset

The SyncUsingStreamOffset method enables or disables synchronization using time-stamp offsets.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)