MENewStream event

Raised by a media source when it starts a new stream.

When the IMFMediaSource::Start method is called on a media source, the media source sends one event for each selected stream:

  • The source sends the MENewStream event if the stream was not selected in the previous call to Start, or this is the very first call to Start on this media source.

  • The source sends the MEUpdatedStream event if the stream was already selected in the previous call to Start.

No events are sent for unselected streams.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
VT_UNKNOWN
Contains a pointer to the stream's IMFMediaStream interface.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events