Comments (3)
If you are trying to upgrade from 6.0.2
there are actually two things that can prevent this from working:
- There was a major API update between ECS
v15
andv16
, when the CDM acquisition method went from using Lorry to the Component Updater (changing the build tag from-wvvmp
to+wvcus
). During this transition a change was made that will not allow loading persistent licenses stored prior tov16
. This could be fixed in theory, but doing so will break persistent licenses for all releases afterv16
. For this reason changing this behavior is out of the question. - The CDM version differs between the CDM that stored the persistent license and the CDM that loads it. If there has been a security update the system id will have changed and the newer CDM will not be able to load the license. This is what was discussed in the previous issue you opened, #179.
If either of the above happens all persisted licenses will need to be updated. There is no way to generally automate this, it needs to be implemented on a per-service basis using the EME API (as also discussed in the previous ticket, #179). Also take note of the fact that a license that fails to load is typically discarded by the CDM, so once a load fails the persisted session is gone.
from electron-releases.
@khwaaj ,
Thanks for the replay. Since we don't have other options to use existing licenses, we compromised and did the license downloads with the new CastLabs Electron version 22.0.0, but encountered an issue with updating the WidevineCDM component in my CastLabs Electron application to version 22.0.0 while keeping the "component_updates_enabled" flag set to false. Here's the scenario:
We recently updated our application to CastLabs Electron version 22.0.0.
In order to avoid potential issues with the latest Widevine releases, we set the "component_updates_enabled" flag to false during this update.
However, we observed that the WidevineCDM component isn't getting updated automatically to version 22.0.0 as expected, even for the first time.
As a consequence, when attempting to use offline licenses with the newly downloaded , they are not working
Our expectation was that during the update to version 22.0.0, the WidevineCDM component would be downloaded for the first time. However, it seems that due to the "component_updates_enabled" flag being false, this is not occurring.
We need guidance on how to achieve the following:
Update the WidevineCDM component to version 22.0.0 during the application update to CastLabs Electron version 22.0.0.
Ensure that subsequent updates do not consider the "component_updates_enabled" flag for the WidevineCDM component.
Could anyone provide guidance on how to achieve this? Is there a way to manipulate the "component_updates_enabled" option dynamically for this specific scenario?
from electron-releases.
I assume you are talking about the components.updatesEnabled
API (which controls component_updates.component_updates_enabled
)? If so, this is exactly the expected behavior. If this is set to false
before a CDM is installed, one will never be installed.
What you need to do is set it to false
after a CDM has been installed successfully. This would prevent updates, but you should be aware that this is only a stopgap solution. CDMs are periodically deprecated/removed and it will need to be updated sooner or later to continue working. And once that happens you need to handle the potential persistent license migration anyway.
from electron-releases.
Related Issues (20)
- Unsure how to have .app retain both EVS and OSX signing HOT 7
- Error cannot resolve https://github.com/electron/electron/releases/download/v25.2.0+wvcus/electron-v25.2.0+wvcus-win32-x64.zip: status code 404 HOT 3
- VERY STRANGE PROBLEM: Drm Widevine not work in Electron App, but it work in Chrome Browser HOT 1
- relaunch(); only quits HOT 12
- SIGTRAP on Manjaro Linux HOT 7
- Order of operation for EVS signing, MacOS code signing, MacOS notarization HOT 4
- App on windows works as expected but on linux it crashes HOT 2
- components.whenReady() not rejecting on error HOT 4
- Issue with Widevine New Version Impacting Existing Offline Persistence License and Ineffectiveness of --disable-component-update in CastLab Electron Version 17 HOT 7
- Application quit unexpected: EXC_CORPSE_NOTIFY Namespace SIGNAL, Code 5 Trace/BPT trap: 5 HOT 3
- Inquiry about 'widevine-cdm-path' in Castlabs Electron with custom path HOT 6
- Widevine CDM Library removal issue HOT 5
- NixOS Widevine Not Recognized HOT 3
- arm support for Windows using ia32 binaries broken since Electron 25 HOT 2
- Requests made to Widevine licenses server proxy at playback time, despite electron.exe is VPM-signed w/ EVS for production content... HOT 2
- castlabs_evs package is incompatible with cryptography 42.0.0+ HOT 4
- Widevine Content Playback Issue with CastLab Electron Version 22 HOT 8
- cannot resolve https://github.com/electron/electron/releases/download/v27.0.0+wvcus/electron-v27.0.0+wvcus-win32-x64.zip: status code 404 HOT 6
- Unable to load shaka-player demo or any Widevine DRM protected content on v30.0.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-releases.