I’m trying to implement License Persistence (LP) in our webOS application, but I’m encountering an error during implementation. I would like to understand how to enable and manage DRM license persistence for webOS. Please clarify whether webOS TV supports persistent DRM licenses for Widevine and Playready. Are there any platform or webOS version-specific limitations we should consider.
Widevine does not support persistent DRM licenses on all webOS TV versions, but PlayReady supports them on all webOS TV versions. If a persistent license is provided by the DRM license server, PlayReady stores it in the file storage and then uses it. However, persistent DRM licenses are not recommended because they are not efficient for OTT streaming services and can shorten the eMMC lifespan.
Thank you.
Hi,
Thank you for the reply and for confirming that PlayReady supports persistent licenses on all webOS TV versions. That matches what we see: the license is stored. Our issue is that we cannot retrieve it again from a web app.
- requestMediaKeySystemAccess grants sessionTypes [‘persistent-license’] with persistentState ‘required’.
- generateRequest → license request → update() succeeds, key status ‘usable’. The license server issues a persistent license; we reproduced this with Microsoft’s test server (test.playready.microsoft.com, cfg=(persist:true)) as well as our own server.
- The license is stored: calling remove() on the session produces a ‘license-release’ message (5885 bytes).
- However, MediaKeySession.load(sessionId) on a new createSession(‘persistent-license’) is always rejected within a few milliseconds with CDM system codes 0x8004130D , 0x8004130A and 0x8004130C .
Our questions:
- Is MediaKeySession.load() supported for persistent PlayReady sessions in webOS web apps? If yes, which webOS versions?
- What do the system codes 0x8004130A, 0x8004130C and 0x8004130D mean?
- You mention PlayReady stores the persistent license and then uses it. How should a web app trigger that reuse: via EME load(), or does the CDM reuse the stored license automatically for a new session? If automatic, under what conditions, since we always receive a new challenge?
Regarding the eMMC concern: we understand the point. Our use case is one long-lived license per channel package, reused across app launches to reduce video start time, so the number of writes would be very small (roughly one per license validity period, not one per playback). If there is a recommended limit on stored licenses or write frequency, we would be happy to follow it.
Best regards,
Alex