Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Product | Version |
---|---|
Windows SDK | Windows 7 |
Downloading the Sample
This sample is available in the Windows classic samples github repository.
Related topics