[Webkit-unassigned] [Bug 214932] New: web audio api outputs silence for 302 redirected resource in safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 29 12:51:10 PDT 2020


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

            Bug ID: 214932
           Summary: web audio api outputs silence for 302 redirected
                    resource in safari
           Product: WebKit
           Version: Safari 13
          Hardware: All
               URL: https://nchilla.github.io/wnsr-new-school-radio/demo/d
                    emo.html
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hubblebot at gmail.com

In Safari, when an AudioContext is assigned to an audio element linked to a source with a 302 redirect in front of it, it outputs silence instead of normal audio without any errors in the log. By contrast, Chrome and Firefox have no issues with the same source.

See the demo with a simple visualizer and three options to attach the source and play the audio:

The first option links directly to the media source with a 200 response, assigns the AudioContext, and plays correctly in safari. 

The second option shows the issue when the link instead goes to a 302 redirect before going to the source audio, and outputs silence when the AudioContext is assigned.

The third option attaches the 302 redirect resource, but does not assign an AudioContext, and plays correctly in safari.

-- 
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/20200729/21ed6596/attachment-0001.htm>


More information about the webkit-unassigned mailing list