[Bug 24874] New: Positive isTypeSupported() may be misleading (MSE vs. .src=)

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

            Bug ID: 24874
           Summary: Positive isTypeSupported() may be misleading (MSE vs.
                    .src=)
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: ddorwin@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

For a variety of technical reasons, there are likely to be implementations that
only support EME with MSE and not with normal .src= URLs.

Since HTMLMediaElement.canPlayType(), MediaSource.isTypeSupported() and
MediaKeys.isTypeSupported() are all independent, there is currently no way to
indicate that the key system or content type can be used with MSE but not
normal .src= URLs (or vice versa).

Options:
1) Ignore this issue, assuming EME will be primarily used with MSE.
2) Provide guidance, such as the result should be positive if any type of
source supports the specified parameters.
  In practice, a positive response would likely mean one of the following:
    * EME is supported with both MSE and normal .src= URLs.
    * EME is only supported with MSE
    * EME is supported with .src= but MSE is not supported [for the type(s)].
      - The latter can be verified by checking MediaKeys and
MediaSource.isTypeSupported().
3) Add a new srcType parameter to MediaKeys.isTypeSupported() that accepts
“mse” or “src”. (See issue 24873 for other possible changes to this method.)

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

Received on Saturday, 1 March 2014 02:24:17 UTC