Export (0) Print
Expand All

ProtectedPlayback Sample

Shows how to play protected media content in Microsoft Media Foundation.

Usage

The ProtectedPlayback sample builds a Windows application.

To play a local media file, select Open File from the File menu. To specify a file by URL, select Open URL from the File menu. After you select a file, playback begins automatically. To pause playback, press the SPACEBAR. To resume playback, press the SPACEBAR again.

APIs Demonstrated

This sample demonstrates the following Media Foundation interfaces:

Requirements

ProductVersion
Windows SDKWindows Vista
Microsoft WindowsWindows Vista

 

Downloading the Sample

This sample is available in the following locations.

LocationPath/URL
Windows SDKSDK Root\Samples\multimedia\mediafoundation\protectedplayback
MSDN Code GalleryDownload from MSDN Code Gallery

 

Related topics

How to Play Protected Media Files
Media Foundation SDK Samples
MFPlayer Sample

 

 

Community Additions

ADD
Show:
© 2014 Microsoft