- From: <bugzilla@jessica.w3.org>
- Date: Tue, 04 Mar 2014 01:56:49 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24025 --- Comment #10 from David Dorwin <ddorwin@google.com> --- As discussed in bug 24082, it may be better to explicitly extend EME to handle missing capabilities rather than allow or even encourage custom values. With that in mind, the three use cases presented so far could be addressed as follows: 1) Add an optional |capability| parameter to the MediaKeys() constructor or MediaKeySession.createSession(). The former keeps all key system-specific strings together. The latter allows more flexibility, including allowing sessions to use different capabilities, but that's probably not necessary. This parameter would accept the same strings that are proposed to be supported by isTypeSupported() in bug 24873. 2) Add a "persistent" attribute to MediaKeys. When true, the CDM will persist created sessions and load sessions from persistent storage. When false, things work as they do today (and loadSession() throws an exception). If a UA or key system implementation does not support persisting licenses, the UA may throw a NOT_SUPPORTED_ERR when an application attempts to set "mediaKeys.persistent = true". 3) Add an optional setServerCertificate(Uint8Array serverCertificate) to MediaKeys. If a UA or key system implementation does not support server certificates, the UA may throw a NOT_SUPPORTED_ERR. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 4 March 2014 01:56:51 UTC