[webkit-changes] [WebKit/WebKit] 3fa1d2: [tvOS] Add a stub PlaybackSessionInterface and Vid...

aestes noreply at github.com
Thu Aug 29 17:39:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3fa1d20da60e00014b0539014ca6c6eb878ba836
      https://github.com/WebKit/WebKit/commit/3fa1d20da60e00014b0539014ca6c6eb878ba836
  Author: Andy Estes <aestes at apple.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    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/PlaybackSessionInterfaceTVOS.cpp
    A Source/WebCore/platform/ios/PlaybackSessionInterfaceTVOS.h
    M Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.mm
    A Source/WebCore/platform/ios/VideoPresentationInterfaceTVOS.h
    A Source/WebCore/platform/ios/VideoPresentationInterfaceTVOS.mm
    M Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.cpp
    M Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.mm
    M Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm
    M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm

  Log Message:
  -----------
  [tvOS] Add a stub PlaybackSessionInterface and VideoPresentationInterface
https://bugs.webkit.org/show_bug.cgi?id=278882
rdar://134965640

Reviewed by Jer Noble.

Added PlaybackSessionInterfaceTVOS and VideoPresentationInterfaceTVOS, which are subclasses of
PlaybackSessionInterfaceIOS and VideoPresentationInterfaceIOS respectively. Taught
VideoPresentationInterfaceIOS to tolerate a nil playerViewController.

* 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/PlaybackSessionInterfaceTVOS.cpp: Added.
(WebCore::PlaybackSessionInterfaceTVOS::create):
(WebCore::PlaybackSessionInterfaceTVOS::PlaybackSessionInterfaceTVOS):
* Source/WebCore/platform/ios/PlaybackSessionInterfaceTVOS.h: Added.
* Source/WebCore/platform/ios/VideoPresentationInterfaceIOS.mm:
(WebCore::VideoPresentationInterfaceIOS::doSetup):
* Source/WebCore/platform/ios/VideoPresentationInterfaceTVOS.h: Added.
* Source/WebCore/platform/ios/VideoPresentationInterfaceTVOS.mm: Added.
(WebCore::VideoPresentationInterfaceTVOS::create):
(WebCore::VideoPresentationInterfaceTVOS::VideoPresentationInterfaceTVOS):
(WebCore::VideoPresentationInterfaceTVOS::presentFullscreen):
(WebCore::VideoPresentationInterfaceTVOS::dismissFullscreen):
* Source/WebCore/platform/libwebrtc/LibWebRTCVPXVideoEncoder.cpp:
* Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.mm:
* Source/WebKit/UIProcess/Cocoa/VideoPresentationManagerProxy.mm:
* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm:

Canonical link: https://commits.webkit.org/282939@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