Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2175754e25862b1c68ab2f16901733dd8e315a66
      
https://github.com/WebKit/WebKit/commit/2175754e25862b1c68ab2f16901733dd8e315a66
  Author: Andy Estes <[email protected]>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp
    M 
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm

  Log Message:
  -----------
  [Cocoa] AVContentKey -revoke and -externalContentProtectionStatus have 
correctness issues when using AVContentKeySession in legacy WebKit 
compatibility mode
https://bugs.webkit.org/show_bug.cgi?id=264528
rdar://118201899

Reviewed by Jer Noble.

-[AVContentKey revoke] and -[AVContentKey externalContentProtectionStatus] have 
correctness issues
when used with an AVContentKeySession in legacy WebKit compatibility mode, 
which is the default.

Addressed this by tying the use of these APIs to the 
SampleBufferContentKeySessionSupportEnabled web
preference. Since this preference now encompasses the use of the 
BuiltInCDMKeyGroupingStrategyEnabled
preference, removed the latter.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp:
(WebCore::MediaKeySession::keyGroupingStrategy const):
* 
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::protectionStatusForRequest
 const):

Canonical link: https://commits.webkit.org/270554@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to