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

Unable to create multiple DRM sessions for a dash live manifest with Playready DRM in older version of chrome browser #8155

Open
git-archs opened this issue Feb 24, 2025 · 2 comments
Labels
component: EME The issue involves the Encrypted Media Extensions web API status: waiting on response Waiting on a response from the reporter(s) of the issue type: bug Something isn't working correctly
Milestone

Comments

@git-archs
Copy link

Have you read the FAQ and checked for duplicate open issues?
Yes

If the problem is related to FairPlay, have you read the tutorial?

Not related

What version of Shaka Player are you using?

4.12

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
Yes

Are you using the demo app or your own custom app?
Custom

If custom app, can you reproduce the issue using our demo app?

What browser and OS are you using?
Chrome/53.0.2785. This is a Linux based Set Top Box Device

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs?

What configuration are you using? What is the output of player.getNonDefaultConfiguration()?

What did you do?

Playing a Live TV stream(DASH) With the latest Shaka version(4.13.2) and the latest shaka repo.While creating multiple sessions, there is no session updates happening and the flow does not continue further.
We are currently using the 4.12 version of shaka and this issue does not happen there.

The following commit has introduced this issue:
fix(preload): Wait for drm keys when preloading (#7698)

Shaka Logs:
2204901 2025-02-24 12:56:47.153 blinkman(29200) None: [29200:29237:0224/125647:252596708921:INFO:CONSOLE(6952)] "SHAKA_UI:: ,Creating new,temporary,session", source: http://127.0.0.1/vms-ui/script.js?1740419744750 (6952)
2204902 2025-02-24 12:56:47.175 blinkman(29200) None: [29200:29237:0224/125647:252596730561:INFO:CONSOLE(6952)] "SHAKA_UI:: ,Creating new,temporary,session", source: http://127.0.0.1/vms-ui/script.js?1740419744750 (6952)

What did you expect to happen?
DRM session should have successfuly established.

What actually happened?

After trying to open a session by shaka player, No session updates happened related to further processing of the DRM flow, e.g updating the session, sending license request etc.

Are you planning to send a PR to fix it?
Reverting this change fixes the problem:
fix(preload): Wait for drm keys when preloading (#7698)

@git-archs git-archs added the type: bug Something isn't working correctly label Feb 24, 2025
@shaka-bot shaka-bot added this to the v4.14 milestone Feb 24, 2025
@joeyparrish
Copy link
Member

Thank you so much for identifying the PR that started the issue!

@avelad avelad added the component: EME The issue involves the Encrypted Media Extensions web API label Feb 25, 2025
@avelad
Copy link
Member

avelad commented Mar 7, 2025

@git-archs Can you review if the problem is resolved in the nightly https://nightly-dot-shaka-player-demo.appspot.com/ ? Today we merged #8219 and I think it might fix this issue.

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: EME The issue involves the Encrypted Media Extensions web API status: waiting on response Waiting on a response from the reporter(s) of the issue type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

4 participants