Enabling PlayReady support on Xbox One UWP Developer Preview

In the previous days I was trying the recently released Xbox One UWP Developer preview with these samples involving Smooth Streaming / PlayReady and noticed that playback was not working properly on the console with the MediaElement always returning the error MEDIA_ERR_SRC_NOT_SUPPORTED – 0x80070005.

As highlighted in this forum post, the following capability must be added to the app manifest in order to enable playback of PlayReady DRM protected content on Xbox One UWP developer preview:

I’ve updated the Smooth Streaming / PlayReady samples and they are now available for download here on GitHub.

5 thoughts on “Enabling PlayReady support on Xbox One UWP Developer Preview”

  1. Thanks for this tip David. Helped me out. If I am using a “hosted app”, this does not seem to work. It DOES work with the same code on an installed app, but the hosted app seems to need something more. Does this work for you on a “hosted app”? If so, any advice on what else I may need?

  2. Hi Davide, I tried running the sample in a Xbox One but I get an Error: Unsupported video type or invalid file path (The sample runs fine in Windows 10. The sample already contained the DeviceCapability field in the manifest). According to Microsoft, you need to register your Dev Center account to get authorization to play Play Ready content (https://msdn.microsoft.com/en-us/windows/uwp/audio-video-camera/playready-client-sdk#use-playready-drm-on-xbox-one) Could this be related to the error I’m getting?

Leave a Reply

Your email address will not be published. Required fields are marked *