Expand Minimize

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.

VARTYPEDescription

VT_UNKNOWN

Contains a pointer to the stream's IMFMediaStream interface.

Requirements

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft