| Summary: | [Mac][EME] Support ClearKey encryption with AES128-encrypted HLS | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | commit-queue, thorton, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Bug Depends on: | 140850 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Jer Noble
2015-01-23 09:05:28 PST
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> |