⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 288493 in webkit


Ignore:
Timestamp:
Jan 24, 2022, 5:23:54 PM (5 years ago)
Author:
eric.carlson@apple.com
Message:

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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r288492 r288493  
     12022-01-24  Eric Carlson  <eric.carlson@apple.com>
     2
     3        REGRESSION (iOS 15): HTMLAudioElement fails to load new audio when device is locked or safari is in background
     4        https://bugs.webkit.org/show_bug.cgi?id=229688
     5        <rdar://problem/82554226>
     6
     7        Unreviewed, adress post-review feedback.
     8
     9        * platform/audio/cocoa/MediaSessionManagerCocoa.mm:
     10        (WebCore::MediaSessionManagerCocoa::updateSessionState):
     11
    1122022-01-24  Patrick Angle  <pangle@apple.com>
    213
  • trunk/Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm

    r288466 r288493  
    9595void MediaSessionManagerCocoa::updateSessionState()
    9696{
    97     static const Seconds delayBeforeSettingCategoryNone = { 2_s };
     97    constexpr auto delayBeforeSettingCategoryNone = 2_s;
    9898    int videoCount = 0;
    9999    int videoAudioCount = 0;
Note: See TracChangeset for help on using the changeset viewer.