Bewerken

Delen via


MENewPresentation event

Raised by a media source that provides topologies through the IMFMediaSourceTopologyProvider interface, such as the sequencer source. The source raises the event when it has a new presentation. The Media Session forwards this event to the application.

Event values

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

VARTYPE Description
VT_UNKNOWN
Pointer to the IMFPresentationDescriptor interface of the presentation descriptor for the new presentation.

Remarks

The application can get the topology that corresponds to the presentation descriptor by calling IMFMediaSourceTopologyProvider::GetMediaSourceTopology on the media source. The application can then queue the new topology on the Media Session by calling IMFMediaSession::SetTopology.

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

Sequencer Source