[Webkit-unassigned] [Bug 202846] New: AudioContext stops playing when suspended on visibilitychange

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 11 03:48:51 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=202846

            Bug ID: 202846
           Summary: AudioContext stops playing when suspended on
                    visibilitychange
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jespertheend at gmail.com

Created attachment 380740

  --> https://bugs.webkit.org/attachment.cgi?id=380740&action=review

demonstration of the issue

When suspending an audio context in the visibilitychange event of a document, resuming the audio context does not start playing audio.
Check the attached file for a demonstration.

-open the file on safari on iOS 13.1.2
-tap the resume button
-close safari
-note how the audio stops playing
-open safari again
-note how the audio does not resume, the current time stays the same even though the state of the audio context is still "running"
-tapping the resume button doesn't do anything
-only after tapping the suspend button and then the resume button, the audio context starts playing
-when 'suspend on visibility change' is unchecked, the problem does not occur.
-the problem also does not occur on iOS 12, though on iOS 12 the audio keeps on playing when the checkbox is not checked.

I wasn't able to reproduce this issue in the simulator on iOS 13.1, I was not able to download the iOS 13.1.2 simulator.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191011/d2e0f4fd/attachment.html>


More information about the webkit-unassigned mailing list