[Webkit-unassigned] [Bug 221334] Audio passed through WebAudio is delayed and glitchy on Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 17 12:50:26 PDT 2021


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

Michael <sundays at sundays.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sundays at sundays.org.uk

--- Comment #12 from Michael <sundays at sundays.org.uk> ---
Hi there, I'm having huge issues with the glitchy audio on iOS 14.4. When I go to Safari Settings > Advanced > Experimental and enable "Modern WebAudio API" it doesn't make things any better. Is the "Modern WebAudio" experimental feature different to the reworked WebAudio in Safari Technlogy Preview?

The website I'm working on is basically completely broken in Safari. I can't use normal HTML5 audio because I need to be able to change audio volume. I can't use WebAudio because I need to load a few tracks on the page, and decoding more than 5 crashes the tab due to memory usage, and I can't even pass audio through MediaElementAudioSourceNode because of the glitchy audio.

I have tried a lot of things including AudioContext hints, using different audio file formats (mp3 and aac, both @ 44100hz). Things go really badly when I change the playbackRate property of the HTMLMediaElement. I also tried different buffer sizes for my ScriptProcessorNode, but the only one that seems to have made a difference is using 16384 bytes (the largest possible?). That makes audio work for a few seconds, still slightly glitchy, but then eventually it goes silent. Then when I stop/start the audio playback it works for about 5 seconds before going silent again.

Tested on iOS 14.4.1 on iPhone 8

This is without any microphones or bluetooth speakers being involved.

-- 
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/20210317/54106d59/attachment.htm>


More information about the webkit-unassigned mailing list