[Bug 23955] Add optional MediaKeys.loadSession(DOMString sessionId) method

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

--- Comment #5 from Adrian Bateman [MSFT] <adrianba@microsoft.com> ---
(In reply to David Dorwin from comment #4)
> To be resolved: Can the same session (ID) be loaded multiple times without
> closing the previous MediaKeySession?
> (Note that applications cannot force a MediaKeySession to be closed while
> keeping it "stored" since release() frees the stored session.)
> 
> If not allowed, should a "QuotaExceededError" MediaKeyError be fired on
> subsequent attempts?

When I was thinking about text for this I wondered if it was required that a
loaded session always got the same session ID as the original or might it be
allowable for a CDM to create a session that gets a new ID.

Since we don't currently have implementations for loadSession I think we should
describe it as narrowly as possible (for example, you can only load a session
once, it always gets the same session ID as the original). Then, if we find an
implementation that has a requirement to relax the rules we can do that but
this way we keep the surface area as small as possible until we know we need
more.

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

Received on Monday, 30 December 2013 17:04:13 UTC