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

feat: Add support for PlayReady in HLS #7777

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gmcgarry
Copy link
Contributor

@gmcgarry gmcgarry commented Dec 18, 2024

Example HLS manifest is: https://content.media24.link/hls/flicker84/playready/master.m3u8

(note: the example HLS manifest uses the SUPPLEMENTAL-CODECS attribute and requires PR#7775 to work properly)

This patch:

  • factor-out parsing of the PlayReady Object from the dash parser into the util collection
  • modify the HLS parser to retrieve the LA_URL from the URI attribute in #EXT-X-KEY

Playback tested on Microsoft Edge. Tests pass on Safari and Edge.

@gmcgarry gmcgarry changed the title Add support for PlayReady in HLS [feat]: Add support for PlayReady in HLS Dec 18, 2024
@gmcgarry gmcgarry changed the title [feat]: Add support for PlayReady in HLS feat: Add support for PlayReady in HLS Dec 18, 2024
@shaka-bot
Copy link
Collaborator

Incremental code coverage: 96.58%

@@ -1005,7 +1005,7 @@ describe('DashParser ContentProtection', () => {
// record count
1,
// type
ContentProtection.PLAYREADY_RECORD_TYPES.RIGHTS_MANAGEMENT,
1,
Copy link
Contributor

@theodab theodab Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you just use shaka.util.PlayReady.PLAYREADY_RECORD_TYPES.RIGHTS_MANAGEMENT instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants