question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can shaka player read license proxy uri from the playlist?

See original GitHub issue

Is there any way for shaka player to read the uri of the license proxy server from the playlist/manifest itself?

Currently I am hardcoding the license proxy server uri in the player config as per instructions here - https://shaka-player-demo.appspot.com/docs/api/tutorial-drm-config.html, but that doesn’t work for me because the license proxy server uri changes for every playlist in my system so I want my users to be able to play DRM protected content just by adding the manifest url and without having to add license server URI in the shaka player config.

If there is absolutely no way to accomplish above, I can probably add a custom field in the ContentProtection tag of the manifest, could you provide some instructions on how I can read a custom attribute from the ContentProtection tag in the manifest and make it available to the getNetworkingEngine().registerRequestFilter callback so that I can forward it to the license proxy server.

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ismenacommented, Jun 7, 2017

@TheModMaker also gave an example in an email thread recently: https://groups.google.com/d/msg/shaka-player-users/fVDlZABXMF4/3b1NnHofAQAJ

@aaani feel free to take a look.

0reactions
aaanicommented, Jun 7, 2017

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can shaka player read license proxy uri from the playlist? #859
Is there any way for shaka player to read the uri of the license proxy server from the playlist/manifest itself?
Read more >
JSDoc: Tutorial: License Wrapping - Shaka Player Demo
Wrapping License Requests. If your application needs to communicate complex information to the license server along with the request, the solution is to...
Read more >
shaka-player - npm
Shaka Player is an open-source JavaScript library for adaptive media. It plays adaptive media formats (such as DASH and HLS) in a browser, ......
Read more >
Recently Active 'shaka' Questions - Stack Overflow
I am using Shaka Player for media streaming dash DRM-protected content on our site. I want to create a proxy server between the...
Read more >
Source - GitHub
Changelog ## [4.3.0](https://github.com/shaka-project/shaka-player/compare/v4.2.0...v4.3.0) (2022-11-10) ... **dash:** Parse ClearKey license URL in MPD ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found