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.
Mitglieder
IMFMediaSessionSchnittstelle erbt von IMFMediaEventGenerator. IMFMediaSession umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
IMFMediaSessionSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
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. |
Anforderungen
Mindestens unterstützter Client |
Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 |
Header |
Mfidl.h |
Bibliothek |
Mfuuid.lib |