Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS PlayReady support #1145

Closed
joeyparrish opened this issue Nov 21, 2017 · 8 comments · Fixed by #2719
Closed

HLS PlayReady support #1145

joeyparrish opened this issue Nov 21, 2017 · 8 comments · Fixed by #2719
Labels
component: HLS The issue involves Apple's HLS manifest format flag: seeking PR We are actively seeking PRs for this; we do not currently expect the core team will resolve this status: archived Archived and locked; will not be updated type: enhancement New feature or request
Milestone

Comments

@joeyparrish
Copy link
Member

I have been told that Microsoft has defined their own KEYFORMAT for PlayReady in HLS. We don't support this yet in our HLS parser.

Needed:

  1. Sample content for testing
  2. Documentation of the KEYFORMAT
  3. Code to parse the KEYFORMAT and construct EME init data from it
@joeyparrish joeyparrish added type: enhancement New feature or request flag: seeking PR We are actively seeking PRs for this; we do not currently expect the core team will resolve this component: HLS The issue involves Apple's HLS manifest format labels Nov 21, 2017
@joeyparrish joeyparrish added this to the Backlog milestone Nov 21, 2017
@sandersaares
Copy link
Contributor

Is this about #EXT-X-PLAYREADYHEADER: or some newer HLS+PR binding?

@chrisfillmore
Copy link
Contributor

We have HLS-PR test content. I will send you an email.

@chrisfillmore
Copy link
Contributor

I just noticed that the KEYFORMAT for our HLS-PR content is just KEYFORMAT="com.apple.streamingkeydelivery":

#EXTM3U
#EXT-X-VERSION:5
## Created with Unified Streaming Platform(version=1.7.18)
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:3
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://MkJDQzZGRjYtMkVFMC00NTVGLTkwRTMtRjIwOUMxM0ZCQUQy",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1"
#USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z

What is the KEYFORMAT defined by Microsoft?

@KarlGallagher
Copy link

@chrisfillmore There is no KEYFORMAT defined for PlayReady by Microsoft.
As @sandersaares has said #EXT-X-PLAYREADYHEADER is the way to signal PlayReady DRM on HLS.

The header data is a PlayReady Header Object (PRHO). The implementation will probably need to extract this and wrap it in a PSSH box (I think).

Here is an example stream: http://playready.directtaps.net/media/hls/tosh2641080aacenc/tears_of_steel_1080p-m3u8-aapl.ism/manifest(format=m3u8-aapl)

@chrisfillmore
Copy link
Contributor

chrisfillmore commented Nov 29, 2017

Thanks for the example. I don't think my test content has these headers.

@modernletter
Copy link

According to current Microsoft documentation com.microsoft.playready is recommended KEYFORMAT used to signal PlayReady in HLS (fMP4). #EXT-X-PLAYREADYHEADER is still supported for "legacy purposes".

There is also test content using this KEYFORMTAT:
https://testweb.playready.microsoft.com/Content/Content4X

@trainvnexlesoft
Copy link

Hi team,
I'm waiting for Shaka-player support Playready DRM, anything news about this?

@joeyparrish
Copy link
Member Author

We don't yet support PlayReady in HLS. We haven't had time to work on it ourselves, but we would be happy to accept contributions in this area.

@joeyparrish joeyparrish modified the milestones: Backlog, Backlog 2 Jan 28, 2020
TheModMaker pushed a commit that referenced this issue Aug 3, 2020
@joeyparrish joeyparrish modified the milestones: Backlog, v3.1 Aug 5, 2020
@shaka-project shaka-project locked and limited conversation to collaborators Oct 2, 2020
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: HLS The issue involves Apple's HLS manifest format flag: seeking PR We are actively seeking PRs for this; we do not currently expect the core team will resolve this status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants