-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
DRM license wrapping in JSON #2682
Comments
@jakubvojacek, we are taking a look and will come back to you shortly with the best way of achieving this (license wrapping in json) in dash.js. Thanks for the patience. |
@epiclabsDASH thank you, will stay tuned 👍 |
@epiclabsDASH any update on the feature request above? Do you need some examples of what I mean? Thank you |
To clarify, this is how should the license request look like, for example:
and this is how the license response looks like
Do you think something like this would be possible? Thank you |
You can overwrite the getLicenseRequestFromMessage of keySystem to wrapper the request and unwrapper the response in getLicenseMessage in Servers. |
Hi, I have been able to wrap my license request, but I did not find a way to unwrap the response from the server.
|
@el-gringo you can unwrap the response from the Server: |
@Achibana Thank you, but I did not find a way to access licenseServerData. It does not seem to be exported anywhere. |
license request and response modification is implemented and an example is available here: |
We are planning to move from shaka player to dashjs for live content due to missing support of what shaka team calls "encoder drift" (shaka-project/shaka-player#999).
However, we are using widevine and license & response wrapping (for shaka it's nicely described here https://shaka-player-demo.appspot.com/docs/api/tutorial-license-wrapping.html). Basically, we need to send authentication header in each license / renewal request and both the request and response should be wrapped in JSON.
My understanding is that the header can be set as following:
Is there a way to also be able send the request as JSON and receive it as JSON?
Thank you
The text was updated successfully, but these errors were encountered: