[Bug 25267] New: Remove ability for in-memory sessions to be re-used

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

            Bug ID: 25267
           Summary: Remove ability for in-memory sessions to be re-used
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: ddorwin@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

The outcome of bug 21855 was to allow implementations to avoid firing a message
event if there is already an in-memory session, possibly already containing a
license, for the provided initData.

This was actually implemented as part of the state machine [1], and a
clarification was later added to indicate that the sessions must still appear
distinct [2].

I think such behavior causes inconsistent and unexpected behavior for
applications. I think EME should not allow such *optional* in-memory sharing.
Instead, we should try to really solve the underlying problem (redundant
needkey events) and/or make the behavior explicit (i.e. adding another value to
bug 25200).

The changes to the spec would be:
 A. Remove the note added in [2].
 B. Require a message event when creating a session unless otherwise specified.

There might be use cases for not firing a message when creating a session, but
I don't think they are currently explicitly supported. We can re-evaluate the
related algorithms when enabling such use cases.

[1] https://dvcs.w3.org/hg/html-media/rev/83629aec22e1
[2] https://dvcs.w3.org/hg/html-media/rev/cba144274140

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

Received on Friday, 4 April 2014 21:39:23 UTC