-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Have you read the FAQ and checked for duplicate open issues?:
Yes
What version of Shaka Player are you using?:
2.3.x
Can you reproduce the issue with our latest release version?:
Yes
Can you reproduce the issue with the latest code from master
?:
Yes
Are you using the demo app or your own custom app?:
Demo
If custom app, can you reproduce the issue using our demo app?:
N/A
What browser and OS are you using?:
Electron with Widevine CDM enabled:
https://github.com/castlabs/electron-releases
What did you expect to happen?
Ability to download Dash content (ondemand) with DRM (widevine) that does not have inline PSSH data in the manifest
What actually happened?
- Downloading Dash with no inline PSSH value in the manifest throws a "NO_INIT_DATA_FOR_OFFLINE" error on download initiation:
https://github.com/google/shaka-player/blob/05b071d7fa66a23a91ba44c34667bbe0d0e81644/lib/offline/storage.js#L753 - Downloading Dash with inline PSSH value in the manifest downloads & plays successful
- Both Dash manifest types (inline vs no inline PSSH) do play successful in an online environment
The inline PSSH property should be optional in the manifest specification, but mandatory to be available in the binary fragments. Shaka seem to be correctly supporting this for online playback, but for the offline download initiation it seems to be depending solely on the inline PSSH value.
We are trying to understand if this is a bug or if there is a limitation that prevents shaka from using the PSSH value in the binary fragments while downloading content.