[Webkit-unassigned] [Bug 234275] AudioBufferSourceNode is not being played on repeat visit and/or refresh

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 15 11:39:24 PST 2021


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

--- Comment #1 from Yuriy Kravets <yucikkravets at gmail.com> ---
I have pinpointed the code that triggers such behaviour. This is somehow related to caching of WebWorker code. Adding time param to path to the worker code makes the browser load a fresh copy of that file, and this leads to some kind of reevaluation on the WebAudio side.

const worker = new Worker(`../measure-processor-worker.js?v=${new Date().getTime()}`);

the strange thing here is that the code seem to execute each time (tested through some console.logs) but the sound is not being played. What that code does is it generates JSON objects with information about what has to be played + duration, it is not calling any WebAudio related API functions.

-- 
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/20211215/b16efc02/attachment.htm>


More information about the webkit-unassigned mailing list