Title: [289299] branches/safari-613-branch/Source/WebCore
Revision
289299
Author
[email protected]
Date
2022-02-07 18:54:57 -0800 (Mon, 07 Feb 2022)

Log Message

Cherry-pick r288493. rdar://problem/82554226

    REGRESSION (iOS 15): HTMLAudioElement fails to load new audio when device is locked or safari is in background
    https://bugs.webkit.org/show_bug.cgi?id=229688
    <rdar://problem/82554226>

    Unreviewed, adress post-review feedback.

    * platform/audio/cocoa/MediaSessionManagerCocoa.mm:
    (WebCore::MediaSessionManagerCocoa::updateSessionState):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288493 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (289298 => 289299)


--- branches/safari-613-branch/Source/WebCore/ChangeLog	2022-02-08 02:54:54 UTC (rev 289298)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog	2022-02-08 02:54:57 UTC (rev 289299)
@@ -1,5 +1,33 @@
 2022-02-07  Russell Epstein  <[email protected]>
 
+        Cherry-pick r288493. rdar://problem/82554226
+
+    REGRESSION (iOS 15): HTMLAudioElement fails to load new audio when device is locked or safari is in background
+    https://bugs.webkit.org/show_bug.cgi?id=229688
+    <rdar://problem/82554226>
+    
+    Unreviewed, adress post-review feedback.
+    
+    
+    * platform/audio/cocoa/MediaSessionManagerCocoa.mm:
+    (WebCore::MediaSessionManagerCocoa::updateSessionState):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2022-01-24  Eric Carlson  <[email protected]>
+
+            REGRESSION (iOS 15): HTMLAudioElement fails to load new audio when device is locked or safari is in background
+            https://bugs.webkit.org/show_bug.cgi?id=229688
+            <rdar://problem/82554226>
+
+            Unreviewed, adress post-review feedback.
+
+            * platform/audio/cocoa/MediaSessionManagerCocoa.mm:
+            (WebCore::MediaSessionManagerCocoa::updateSessionState):
+
+2022-02-07  Russell Epstein  <[email protected]>
+
         Cherry-pick r288466. rdar://problem/82554226
 
     REGRESSION (iOS 15): HTMLAudioElement fails to load new audio when device is locked or safari is in background

Modified: branches/safari-613-branch/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm (289298 => 289299)


--- branches/safari-613-branch/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm	2022-02-08 02:54:54 UTC (rev 289298)
+++ branches/safari-613-branch/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm	2022-02-08 02:54:57 UTC (rev 289299)
@@ -94,7 +94,7 @@
 
 void MediaSessionManagerCocoa::updateSessionState()
 {
-    static const Seconds delayBeforeSettingCategoryNone = { 2_s };
+    constexpr auto delayBeforeSettingCategoryNone = 2_s;
     int videoCount = 0;
     int videoAudioCount = 0;
     int audioCount = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to