[webkit-changes] [WebKit/WebKit] ef443c: [Cocoa] Adopt AVContentKeySession compatibility mo...
Jer Noble
noreply at github.com
Fri Oct 7 13:15:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ef443ccb8927c607b972e9d06ddf462559df9124
https://github.com/WebKit/WebKit/commit/ef443ccb8927c607b972e9d06ddf462559df9124
Author: Jer Noble <jer.noble at apple.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Changed paths:
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
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/255287@main
More information about the webkit-changes
mailing list