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: