Set the AVAssetResourceLoaderRequest's contentType to AVStreamingKeyDeliveryContentKeyType in the case of a FPS key request.
<rdar://problem/40829228>
Created attachment 342006 [details] Patch
Comment on attachment 342006 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342006&action=review r=me once the bots are happy. > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:2492 > + infoRequest.contentType = AVStreamingKeyDeliveryContentKeyType; Is this string available in every version is the OS we support?
Comment on attachment 342006 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342006&action=review >> Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:2492 >> + infoRequest.contentType = AVStreamingKeyDeliveryContentKeyType; > > Is this string available in every version is the OS we support? This is wrapped in a ENABLE(ENCRYPTED_MEDIA) check, which is only enabled on platforms which will deliver this string.
Created attachment 342029 [details] Patch for landing
Comment on attachment 342029 [details] Patch for landing Clearing flags on attachment: 342029 Committed r232542: <https://trac.webkit.org/changeset/232542>
All reviewed patches have been landed. Closing bug.