-
Notifications
You must be signed in to change notification settings - Fork 44
Description
We have an Electron-based application for offline playback of videos that is build on top of:
- CastLabs Electron Release v29.1.6, that includes :
- Chrome 122.0.6261.139
- Widevine CDM version 4.10.2891.0
- Shaka Player version for offline content playback
- Electron-updater for updates of the application.
The user downloads a video, the offline playback is OK. Then he performs an update of the application using the built-in app updater. After the update and relaunch, the application is now built on top of:
- CastLabs Electron Release v35.1.4, that includes :
- Chrome 134.0.6998.179
- Widevine CDM version 4.10.2891.0.
- Shaka Player version for offline content playback
- and of course still Electron-updater for updates of the application.
As you see, Electron has been updated from v29.1.6 to v35.1.4, but the version number of the Widevine CDM component has not changed (still 4.10.2891.0)
Although the version of the Widevine CDM component has not changed, the update of the application may cause I guess the installation of a new Widevine CDM component, since the Electron has been updated ?
When the user now tries to play the downloaded video that was downloaded before the update, the playback fails with the following Shaka Player error:
Severity=CRITICAL(2) Category=DRM(6) Code=OFFLINE_SESSION_REMOVED(6013)
From the Shaka Player documentation, this error means that the required offline session (to be found given its ID) was removed. Also it is noted that the content might not be playable "depending of the playback context", which is the case here, since the content is not playable anymore.
So it looks like the update of ECS have somehow made the offline sessions of previously downloaded contents invalid...
What happens ? How can I solve this ?
Thank you for your help and suggestions on how to solve this problem... !