[Bug 24216] setMediaKeys() needs more specification

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

Joe Steele <steele@adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steele@adobe.com

--- Comment #1 from Joe Steele <steele@adobe.com> ---
I am not sure I understand the use case here. Wouldn't any use case requiring a
mid-play MediaKeys switch also stall the decryption pipeline because the right
keys are not present?

I would expect the CDM to send a key request at that point, not for the
application to try independently to switch the keys needed.

Or are you thinking that the CDM would not have the right material to initiate
the key request? I.e. a new createSession is required.  

In that case, wouldn't it be cleaner to have a recreateSession() call on the
MediaKeySession object that takes the initData? Then you could reuse the
existing object and push any concerns about which keys are present down into
the CDM where they belong.

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

Received on Tuesday, 18 February 2014 08:05:01 UTC