[webkit-changes] [WebKit/WebKit] 4a1e34: [iOS] Enable SampleBufferContentKeySessionSupportE...
aestes
noreply at github.com
Thu Dec 14 07:30:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4a1e342eb47141b4128ab2700e66a8996a9338bc
https://github.com/WebKit/WebKit/commit/4a1e342eb47141b4128ab2700e66a8996a9338bc
Author: Andy Estes <aestes at apple.com>
Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.cpp
M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
M Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h
M Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
M Source/WebKit/Scripts/process-entitlements.sh
M Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm
Log Message:
-----------
[iOS] Enable SampleBufferContentKeySessionSupportEnabled by default
https://bugs.webkit.org/show_bug.cgi?id=266377
rdar://118244664
Reviewed by Jer Noble.
Enabled SampleBufferContentKeySessionSupportEnabled by default on iOS-family platforms. For
configurations where AVSampleBufferAttachContentKey is not supported, added a fallback path to
calling add/removeContentKeyRecipient.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.cpp:
(WTF::processIsExtensionValue):
(WTF::processIsExtension):
(WTF::setProcessIsExtension):
* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
* Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
* Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(WebCore::supportsAttachContentKey):
(WebCore::shouldAddContentKeyRecipients):
(WebCore::SourceBufferPrivateAVFObjC::destroyRenderers):
(WebCore::SourceBufferPrivateAVFObjC::trackDidChangeEnabled):
(WebCore::SourceBufferPrivateAVFObjC::setCDMInstance):
(WebCore::SourceBufferPrivateAVFObjC::enqueueSample):
(WebCore::SourceBufferPrivateAVFObjC::enqueueSampleBuffer):
(WebCore::SourceBufferPrivateAVFObjC::attachContentKeyToSampleIfNeeded):
(WebCore::SourceBufferPrivateAVFObjC::setVideoLayer):
* Source/WebKit/Scripts/process-entitlements.sh:
* Source/WebKit/Shared/Cocoa/AuxiliaryProcessCocoa.mm:
(WebKit::AuxiliaryProcess::platformInitialize):
Canonical link: https://commits.webkit.org/272036@main
More information about the webkit-changes
mailing list