Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 7

 

Downloading the Sample

This sample is available in the Windows classic samples github repository.

Related topics

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

 

 

Show:
© 2018 Microsoft