[Bug 21977] Swap isTypeSupported() parameter order so keySystem is first

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

David Dorwin <ddorwin@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|adrianba@microsoft.com      |ddorwin@google.com

--- Comment #2 from David Dorwin <ddorwin@google.com> ---
(In reply to comment #1)
>  > ^ Would applications ever want to query just |type| to determine if the UA
> > supports encrypted content of that type without checking the key system? It
> > seems applications would want to find supported key system(s) then check
> > supported types for those key system(s).
> 
> Wouldn't the MSE version of isTypeSupported work fine for this? Or do you
> anticipate that the UA will support the video format but just not the
> encrypted version? It seems to me that the UA will not send a needkey if it
> does not recognize the format. 

Yes, we should allow UAs to support formats via .src or MSE without supporting
decryption of such formats. isTypeSupported() is likely to be called before
media is provided, so relying on needkey will not work.

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

Received on Monday, 20 May 2013 16:41:22 UTC