DASH+PlayReady-protected video playback issues (UWP)

Evgeny Isaev 1 Reputation point
2020-02-07T10:16:27.557+00:00

(I've already asked this question there, but they advised me to post my question on this forum. I'm sorry if someone sees my message second time.)

Hi All!

We are in process of development of an application, which should be able to play videos using PlayReady DRM. As a target platform we are using Universal Windows, target version Windows 10, version 1903, (10.0; Build 18362). For playback we are using MediaPlayerElement in combination with AdaptiveMediaSource.

As it's said here (https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/adaptive-streaming-with-playready) "HLS (Apple's HTTP Live Streaming) is not supported with PlayReady". So, I believe, DASH is our only option.

We've tried to use profile urn:mpeg:dash:profile:isoff-on-demand:2011 in mpd manifest. According to this page (https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/dash-profile-support), it should be supported from Windows 10, Version 1809. But using AdaptiveMediaSource to parse it we receive AdaptiveMediaSourceCreationStatus.ManifestParseFailure status. So we switched to profiles="urn:mpeg:dash:profile:isoff-live:2011" with type="static". Somehow it works for video on demand case.

But then we've got a problem with live translations. For live we used profiles="urn:mpeg:dash:profile:isoff-live:2011" with type="dynamic". It plays first several seconds and stops without loading the next fragment. Visually it looks like it's waiting next part to load, but it never happens. The same code plays HLS translation fine, but with no protection.

Could you help me to find out which DASH profiles are supported by UWP API at the moment?

And can PlayReady+DASH live translations be played on UWP using some API?

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. James Dailey - MSFT 336 Reputation points Microsoft Employee
    2020-02-19T22:18:07.567+00:00

    urn:mpeg:dash:profile:isoff-live:2011 - Dynamic is supported on 1809 but keep in mind that $Time$ is supported but $Number$ is unsupported in segment templates. Make sure that you are only using $Time$.

    -James

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.