Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 556a3c01da306818be01657b338d2c0787043821
https://github.com/WebKit/WebKit/commit/556a3c01da306818be01657b338d2c0787043821
Author: Jean-Yves Avenard <[email protected]>
Date: 2025-10-06 (Mon, 06 Oct 2025)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/platform/graphics/MediaPlayer.cpp
M
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h
M
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
Log Message:
-----------
Add preference to make MediaPlayerPrivateMediaSourceAVFObjC run in the web
process.
https://bugs.webkit.org/show_bug.cgi?id=300194
rdar://161985378
Reviewed by Youenn Fablet.
Add MediaSourceUseRemoteAudioVideoRenderer preference, disable by default
to make the MediaPlayerPrivatedMediaSourceAVFObjC run in the web process.
We also add the methods required when using a hosted context.
* Source/WebCore/platform/graphics/MediaPlayer.cpp:
(WebCore::WTF_REQUIRES_LOCK):
*
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
*
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::createRenderer):
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::MediaPlayerPrivateMediaSourceAVFObjC):
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::hostingContext const):
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::setVideoLayerSizeFenced):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
Canonical link: https://commits.webkit.org/301050@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes