Branch: refs/heads/safari-7616.1.5-branch
  Home:   https://github.com/WebKit/WebKit
  Commit: 3fb73c04b21e4a3768df1616f42a720c59f8a6ef
      
https://github.com/WebKit/WebKit/commit/3fb73c04b21e4a3768df1616f42a720c59f8a6ef
  Author: Dean Jackson <d...@apple.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
    M Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm

  Log Message:
  -----------
  Cherry-pick 41855a914387. rdar://problem/103458234

    Opt out of playback preventing app backgrounding for silent videos
    https://bugs.webkit.org/show_bug.cgi?id=253163
    rdar://103458234

    Reviewed by Jer Noble and Eric Carlson.

    AVFoundation has exposed new API on AVPlayer and AVSampleBufferDisplayLayer
    to avoid silent media playback from keeping the app moving to the 
background.

    Test for the property, then set it to NO.

    * 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
    (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer):
    * 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
    (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::ensureLayer):
    * Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm:
    (WebCore::MediaPlayerPrivateWebM::ensureLayer):

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

Canonical link: https://commits.webkit.org/261058.4@safari-7616.1.5-branch


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to