[webkit-changes] [WebKit/WebKit] 5da630: [iOS] Introduce a feature flag for using AVPlayerV...

aestes noreply at github.com
Mon Dec 16 18:14:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5da630876996e07d6366039b09276078ffc76643
      https://github.com/WebKit/WebKit/commit/5da630876996e07d6366039b09276078ffc76643
  Author: Andy Estes <aestes at apple.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/SourcesCocoa.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/platform/graphics/PlatformPlaybackSessionInterface.h
    M Source/WebCore/platform/graphics/PlatformVideoPresentationInterface.h
    A Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.h
    A Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.mm
    A Source/WebCore/platform/ios/VideoPresentationInterfaceAVKit.h
    A Source/WebCore/platform/ios/VideoPresentationInterfaceAVKit.mm
    M Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.mm
    M Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm

  Log Message:
  -----------
  [iOS] Introduce a feature flag for using AVPlayerViewControllerContentSource
https://bugs.webkit.org/show_bug.cgi?id=284768
rdar://problem/141560804

Reviewed by Eric Carlson.

Introduced a compile-time and runtime flag for using AVPlayerViewControllerContentSource to
implement video fullscreen. Added stub implementations of PlaybackSessionInterfaceAVKit and
VideoPresentationInterfaceAVKit. Eventually these will be used to implement video fullscreen using
AVPlayerViewController + AVPlayerViewControllerContentSource.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/SourcesCocoa.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/graphics/PlatformPlaybackSessionInterface.h:
* Source/WebCore/platform/graphics/PlatformVideoPresentationInterface.h:
* Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.h: Added.
* Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.mm: Copied from Source/WebCore/platform/graphics/PlatformPlaybackSessionInterface.h.
(WebCore::PlaybackSessionInterfaceAVKit::create):
(WebCore::PlaybackSessionInterfaceAVKit::PlaybackSessionInterfaceAVKit):
(WebCore::PlaybackSessionInterfaceAVKit::~PlaybackSessionInterfaceAVKit):
(WebCore::PlaybackSessionInterfaceAVKit::logClassName const):
* Source/WebCore/platform/ios/VideoPresentationInterfaceAVKit.h: Added.
* Source/WebCore/platform/ios/VideoPresentationInterfaceAVKit.mm: Copied from Source/WebCore/platform/graphics/PlatformPlaybackSessionInterface.h.
(WebCore::VideoPresentationInterfaceAVKit::create):
(WebCore::VideoPresentationInterfaceAVKit::VideoPresentationInterfaceAVKit):
(WebCore::VideoPresentationInterfaceAVKit::~VideoPresentationInterfaceAVKit):
* Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.mm:
(WebKit::playbackSessionInterface):
(WebKit::PlaybackSessionManagerProxy::createModelAndInterface):
* Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm:
(WebKit::videoPresentationInterface):
(WebKit::VideoPresentationManagerProxy::createModelAndInterface):

Canonical link: https://commits.webkit.org/287921@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list