[Bug 27067] Define what to do when CDM crashes

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

--- Comment #8 from Joe Steele <steele@adobe.com> ---
(In reply to David Dorwin from comment #7)
> (In reply to Joe Steele from comment #6)
> > However we may need more. In some cases the MediaKeys object itself may no
> > longer be valid. Currently we don't have a MediaKeys Close algorithm
> > defined. I think we may need that as well, to inform the application that it
> > needs to go through the Key System selection again.
> 
> We shouldn't over-engineer this corner case. It seems unlikely that
> applications would bother listening for such an event on MediaKeys anyway.
> 
> However, we could have createSession() reject the promise with
> "InvalidStateError". If all the sessions are closed and you can't create a
> new session, something is clearly wrong with the MediaKeys.

This sounds fine to me. Hopefully Chris Pearce will comment further on this
though.

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

Received on Monday, 20 October 2014 22:54:08 UTC