[Bug 21855] Avoid network traffic and duplicate sessions for the same key(s)

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

--- Comment #4 from David Dorwin <ddorwin@google.com> ---
Per https://www.w3.org/Bugs/Public/show_bug.cgi?id=19788#c1, the "Potentially
Encrypted Stream Encountered" algorithm is now the "First Time a Key Reference
is Encountered" algorithm.

The change to "key reference" may be helpful here since we could define that
for ISO BMFF (see https://www.w3.org/Bugs/Public/show_bug.cgi?id=17673#c12) to
be an exact PSSH box(es) and trigger this algorithm (and thus needkey) the
first time an exact PSSH box(es) is encountered in the media element.

Note that "First Time a Key Reference is Encountered" puts responsibility on
the UA to track what has been seen so far. Hopefully this is not too much
burden. As noted in the original description, we do not want the CDM involved
in firing needkey, so the UA is the only entity that can track this.

As part of resolving this, we should be able to remove references to |cdm| and
|key ID| from that algorithm, eliminating most of the (existing) complexity
from it.

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

Received on Tuesday, 30 April 2013 02:12:59 UTC