You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New Client for using the Serve API; RemoteCdm class. It has an identical interface as the original Cdm class.
However, the constructor is different. Instead of passing a Widevine device object, you need to pass information
about the API like its host (including port if not on a reverse-proxy), and info about the device like its name and
security level.
Other than that, once the RemoteCdm object is created, you use it exactly the same. Magic!
Any time there's a change or fix to Cdm in this update or any in the future, will also be done to RemoteCdm.
New Serve endpoint /set_service_certificate as an improved way of setting (or unsetting) the service certificate.
Changed
Cdms constructor now uses more direct values, so you don't have to use the Device class or .wvd files.
To continue using .wvd files you must now use Cdm.from_device() instead.
You can now unset the Service certificate by providing None to `Cdm.set_service_certificate().
Removed
Serve's /challenge endpoint no longer accepts a service_certificate item in the JSON payload.
Instead, use the new /set_service_certificate endpoint before calling /challenge.
You do not need to set it every time. Once per session is enough unless you now want to use a different certificate.