[webkit-changes] [WebKit/WebKit] 5299b9: [Cocoa] Adopt AVContentKeySession compatibility mo...
Jer Noble
noreply at github.com
Fri Nov 4 22:31:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5299b9b5bf858d45546c06262a7645320994de82
https://github.com/WebKit/WebKit/commit/5299b9b5bf858d45546c06262a7645320994de82
Author: Jer Noble <jer.noble at apple.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm
M Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h
M Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm
M Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
Log Message:
-----------
[Cocoa] Adopt AVContentKeySession compatibility mode APIs
https://bugs.webkit.org/show_bug.cgi?id=246116
rdar://97347572
Reviewed by Eric Carlson.
Adopt these new compatibility mode APIs when the sampleBufferContentKeySessionSupportEnabled() setting is unset.
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h:
* Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h:
* Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm:
(WebCore::CDMInstanceFairPlayStreamingAVFObjC::contentKeySession):
(WebCore::CDMInstanceSessionFairPlayStreamingAVFObjC::ensureSessionOrGroup):
* Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL):
Canonical link: https://commits.webkit.org/256351@main
More information about the webkit-changes
mailing list