[Bug 19208] Keymessage event not needed when Key System already has Key

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19208

--- Comment #4 from David Dorwin <ddorwin@google.com> ---
(In reply to comment #3)
> When createSession is called, if the CDM discovers that there is already a
> key+session that matches the initData, there are two possibilities:
> (i) there already exists a MediaKeySession object for this session
> (ii) there is no existing MediaKeySession object for this session

I don't think scenario (ii) should happen. If the MediaKeySession object has
been destroyed, the keys related to that session should have been deleted. This
is the equivalent of calling close(). Thus, only (i) should be possible.

> For (i), perhaps we should just return the existing MediaKeySession ?

We previously discussed returning an existing MediaKeySession object, but it
raises a lot of questions and involves the particularly thorny issue of
synchronous calls to the CDM. See
http://lists.w3.org/Archives/Public/public-html-media/2012Jun/0133.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 3 January 2013 00:42:08 UTC