diff --git a/lib/offline/storage.js b/lib/offline/storage.js index fbeeb68f3e..4f4e79afdd 100644 --- a/lib/offline/storage.js +++ b/lib/offline/storage.js @@ -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);