[Mac][EME] Support ClearKey encryption with AES128-encrypted HLS
<rdar://problem/19578900>
Created attachment 245233 [details] Patch
Comment on attachment 245233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=245233&action=review > Source/WebCore/Modules/encryptedmedia/CDMSessionClearKey.cpp:128 > + if (!keysArray.get(i, keyDictionary) || keyDictionary.isUndefinedOrNull()) > + continue; It is probably worth adding logging in these failure cases. > Source/WebCore/Modules/encryptedmedia/CDMSessionClearKey.h:48 > + virtual RefPtr<ArrayBuffer> cachedKeyForKeyID(const String&) override; Can't this and all of the related methods in other classes be declared "const"?
Created attachment 245243 [details] Patch for landing
Comment on attachment 245243 [details] Patch for landing Clearing flags on attachment: 245243 Committed r179051: <http://trac.webkit.org/changeset/179051>
This broke the 32-bit Mac build.
Created attachment 245286 [details] Patch for landing - w/32-bit build fix
Comment on attachment 245286 [details] Patch for landing - w/32-bit build fix Clearing flags on attachment: 245286 Committed r179641: <http://trac.webkit.org/changeset/179641>