[Bug 20622] New: SessionID may be assigned asynchronously in MediaKeys.createSession

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

            Bug ID: 20622
           Summary: SessionID may be assigned asynchronously in
                    MediaKeys.createSession
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: watsonm@netflix.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

It's noted in createSession() step 4.2 that the session ID may be assigned by
the CDM. It is also assigned by the CDM in the proposed method for retrieval of
sessions associated with deleted keys (see
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17199).

This means the assignment of the sessionID may happen asynchronously.

I propose we specify that the sessionId may be null when the MediaKeySession is
first created and MUST be assigned before the first event is fired on the
MediaKeySession.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 9 January 2013 21:27:14 UTC