Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

IMFMediaSession interface

Provides playback controls for protected and unprotected content. The Media Session and the protected media path (PMP) session objects expose this interface. This interface is the primary interface that applications use to control the Media Foundation pipeline.

To obtain a pointer to this interface, call MFCreateMediaSession or MFCreatePMPMediaSession.

Members

The IMFMediaSession interface inherits from IMFMediaEventGenerator. IMFMediaSession also has these types of members:

Methods

The IMFMediaSession interface has these methods.

MethodDescription
ClearTopologies

Clears all of the presentations that are queued for playback in the Media Session.

Close

Closes the Media Session and releases all of the resources it is using.

GetClock

Retrieves the Media Session's presentation clock.

GetFullTopology

Gets a topology from the Media Session.

GetSessionCapabilities

Gets the capabilities of the Media Session, based on the current presentation.

Pause

Pauses the Media Session.

SetTopology

Sets a topology on the Media Session.

Shutdown

Shuts down the Media Session and releases all the resources used by the Media Session.

Start

Starts the Media Session.

Stop

Stops the Media Session.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

How to Play Media Files with Media Foundation
Media Foundation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.