[Webkit-unassigned] [Bug 197433] New: 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
Tue Apr 30 13:09:46 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=197433
Bug ID: 197433
Summary: Unprefixed EME with "com.apple.fps.1_0" fails with
"The operation is not supported."
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: macOS 10.14
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joeyparrish at google.com
Running the following in the Safari debugger on localhost (a secure origin) fails with "The operation is not supported":
minimalConfig = {videoCapabilities: [{contentType: 'video/mp4; codecs="avc1.42E01E"'}]};
mk = await navigator.requestMediaKeySystemAccess('com.apple.fps.1_0', [minimalConfig]);
But the equivalent calls in the prefixed API works fine:
WebKitMediaKeys.isTypeSupported('com.apple.fps.1_0', 'video/mp4; codecs="avc1.42E01E"')
mk = new WebKitMediaKeys('com.apple.fps.1_0');
As does the unprefixed API with clearkey:
minimalConfig = {videoCapabilities: [{contentType: 'video/mp4; codecs="avc1.42E01E"'}]};
mk = await navigator.requestMediaKeySystemAccess('org.w3.clearkey', [minimalConfig]);
I'm running macOS Mojave and Safari 12.1, so this should work, right? It's not clear from the error what is wrong or missing.
Has the key system ID changed? Are there docs on this somewhere that I've missed?
--
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/20190430/f5a510f1/attachment-0001.html>
More information about the webkit-unassigned
mailing list