Correct few errors in the existing AVFoundationCF implementation, and add initial support for encrypted streams. This code is not being built as part of the standard build yet, and is not yet being tested. These changes are only accessible if you manually modify the ENCRYPTED_MEDIA_V2 is enabled.
Created attachment 239241 [details] Patch
Created attachment 239242 [details] Patch
Comment on attachment 239242 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239242&action=review > Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:929 > + if (!keySystem.isEmpty()) { Nit: this could become an early return. > Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:2033 > + if (requestsIterator == m_keyURIToRequestMap.end()) { Nit: this could also become an early return.
Committed r174346: <http://trac.webkit.org/changeset/174346>
Build fix for machines without ENCYPTED_MEDIA_V2 enabled checked in under r174350: <http://trac.webkit.org/changeset/174350>