Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9a2768153bb2ce9ef388ed17d592d52dd2a8ff8d
https://github.com/WebKit/WebKit/commit/9a2768153bb2ce9ef388ed17d592d52dd2a8ff8d
Author: Andy Estes <[email protected]>
Date: 2023-11-09 (Thu, 09 Nov 2023)
Changed paths:
M
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.h
M
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm
Log Message:
-----------
[Cocoa] Adopt -[AVContentKey externalContentProtectionStatus]
https://bugs.webkit.org/show_bug.cgi?id=264465
rdar://118089335
Reviewed by Jer Noble.
Adopted -[AVContentKey externalContentProtectionStatus] API, where available,
as a replacement to
the -[AVContentKeyRequest externalContentProtectionStatus] SPI. Also
implemented the
-contentKeySession:externalProtectionStatusDidChangeForContentKey: delegate
method from
AVContentKeySessionDelegate to learn when a key's protection status changes.
*
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.h:
*
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
(-[WebCoreFPSContentKeySessionDelegate
contentKeySession:externalProtectionStatusDidChangeForContentKey:]):
(WebCore::CDMInstanceFairPlayStreamingAVFObjC::externalProtectionStatusDidChangeForContentKey):
(WebCore::CDMInstanceFairPlayStreamingAVFObjC::sessionForKey const):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::displayChanged):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::contentKeys const):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::contentKeyRequests const):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::hasKey const):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::hasRequest const):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateKeyStatuses):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::externalProtectionStatusDidChangeForContentKey):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::externalProtectionStatusDidChangeForContentKeyRequest):
(WebCore::keyStatusForContentProtectionStatus):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::protectionStatusForRequest
const):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateProtectionStatus):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::contentKeyGroupDataSourceKeys
const):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::protectionStatusForDisplayID
const): Deleted.
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::updateProtectionStatusForDisplayID):
Deleted.
Canonical link: https://commits.webkit.org/270466@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes