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
Product | Version |
---|---|
Windows SDK | Windows 7 |
Downloading the Sample
This sample is available in the Windows classic samples github repository.
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for