Skip to content

Commit

Permalink
fix(offline): Fix store persistent licenses with drm info in the pssh (
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Jan 24, 2024
1 parent b8520ed commit 5acc773
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/offline/storage.js
Expand Up @@ -400,6 +400,10 @@ shaka.offline.Storage = class {
downloader, config, activeHandle.cell, manifest, drmEngine);
this.ensureNotDestroyed_();

this.setManifestDrmFields_(manifest, manifestDB, drmEngine, config);
await activeHandle.cell.updateManifest(manifestId, manifestDB);
this.ensureNotDestroyed_();

const offlineUri = shaka.offline.OfflineUri.manifest(
activeHandle.path.mechanism, activeHandle.path.cell, manifestId);

Expand Down

0 comments on commit 5acc773

Please sign in to comment.