- From: <bugzilla@jessica.w3.org>
- Date: Wed, 05 Sep 2012 15:59:18 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16553 --- Comment #5 from Joe Steele <steele@adobe.com> 2012-09-05 15:59:18 UTC --- (In reply to comment #4) > (In reply to comment #3) > > The way I read step#5 of the createSession() method, a keymessage event will > > always be fired. This is going to be unnecessary overhead in cases where the > > key is already known, either because it was previously acquired and is still > > live or because it was embedded in the initData. Can we simply not fire that > > message if the key is already available? > > This is related to the algorithm in 5.2, which results in a "needkey" event. > The "keymessage" event you refer to is not directly related. Since > createSession() is always called by the application, the application is causing > the keymessage events, which it needs in order to request a license. The > application can avoid calling createSession() in response to a needkey event > regardless of the outcome of this bug. Let me restate to make sure I understand. You are saying that according to 5.2 if the CDM determines that the key needed is already present, it will not cause the needkey event to be fired. Since the needkey event is not received by the media element, the app never calls createSession()? If that is the case, then all of the aspects which are managed via MediaKeySession become problematic I think. For example - key related errors, key lifetime, adding new keys. I think I am mis-interpreting the model somehow. -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Wednesday, 5 September 2012 15:59:25 UTC