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

Bugfix/demo offline 1623 #1624

Closed
wants to merge 2 commits into from

Conversation

gigon
Copy link
Contributor

@gigon gigon commented Oct 17, 2018

hi,

In this fix I am taking the certificateUri from an originalAsset [if one is] found in the shakaAssets array.
This is an intermediate fix.

A better solution would be to store the certificateUri in storage
together with the original license server uri.
I will open another issue for that, as I intend to suggest to store also a separate releaseLicenseServerUri.

gigon added 2 commits October 17, 2018 10:15
Add missing offline attribute to OfflineConfiguration parameter.
Call configureCertificate before Store and Delete calls,
when certificateUri is given.

Fixes shaka-project#1623.
@gigon
Copy link
Contributor Author

gigon commented Oct 17, 2018

Looking deeper, I see that you already store the certificate itself, so no need to retrieve an original certificateUri and get a certificate before calling Storage.remove().
It seems the drm_engine should be fixed, to use this certificate - both in Store and Delete operations.
Currently it only calls setServerCertificate in the attach() function, when attaching a video element.
Should it call setServerCertificate, in the function initForStorage?

So please ignore the 2nd commit 03759600375960, it should be modified and extended.
The 1st commit is ok.

By the way, the current 250-beta-master branch has other Storage related errors.
So I should probably not base on it.

@gigon gigon closed this Oct 18, 2018
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant