[Webkit-unassigned] [Bug 197433] Unprefixed EME with "com.apple.fps.1_0" fails with "The operation is not supported."

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 10:28:18 PDT 2019


--- Comment #5 from Jer Noble <jer.noble at apple.com> ---
>From <https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/avfoundation/CDMFairPlayStreaming.cpp>, CDMPrivateFairPlayStreaming::supportsConfiguration(...).

The first check is that the initDataType is valid. Currently supported initDataTypes for FairPlayStreaming are 'skd' (if you're using HLS-backed media) or 'sinf' (if you're using ISO). We're working on adding 'cenc'.

The 'sinf' initDataType is a UTF-8 encoded JSON string containing one-or-more base64-encoded 'sinf' boxes. This is the same structure you'd get from the prefixed EME APIs.

However, I now see that the "Get Supported Configuration and Consent" algorithm <https://w3c.github.io/encrypted-media/#get-supported-configuration-and-consent> states that check should only be made if the initDataTypes member is non-empty. I'll put up a patch to reflect that.  Meanwhile, you should be able to work around this by passing in 'sinf' to your "minimal configuration".

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190501/d848113c/attachment-0001.html>

More information about the webkit-unassigned mailing list