Bug 311719

Summary: [EME][GStreamer][OCDM] Persistent licenses on CDMThunder
Product: WebKit Reporter: Enrique Ocaña <eocanha>
Component: New BugsAssignee: Enrique Ocaña <eocanha>
Status: RESOLVED FIXED    
Severity: Normal CC: philn, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=211840

Enrique Ocaña
Reported 2026-04-08 02:59:33 PDT
The mechanism to store/retrieve persistent EME licenses has been defined on opencdm_construct_session() and opencdm_session_load() in a backwards compatible way (no API changes, just using the current API in a specific way). A way to use that feature should be added to CDMThunder. The way in which this has been defined is that opencdm_construct_session() would get the peviously stored sessionID at construction time in its CDMData parameter and specifying PersistentLicense as licenseType. If that session exists, a valid session will be returned. The actual data load will happen in opencdm_session_load(). See: https://github.com/WebPlatformForEmbedded/WPEWebKit/issues/1546
Attachments
Enrique Ocaña
Comment 1 2026-04-08 06:52:22 PDT
EWS
Comment 2 2026-04-10 02:44:56 PDT
Committed 310914@main (e3c739f5d15c): <https://commits.webkit.org/310914@main> Reviewed commits have been landed. Closing PR #62271 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-04-10 02:45:15 PDT
Note You need to log in before you can comment on or make changes to this bug.