anthumchris / fetch-stream-audio

Low Latency web audio playback examples for decoding audio streams in chunks with Fetch & Streams APIs

Home Page:https://fetch-stream-audio.anthum.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Safari 11.1 does not execute "onended" for all AudioNodes created

anthumchris opened this issue · comments

The "onended" callback should fire after an AudioNode completes playing. This works in other browsers and is used for calculating when AudioBuffers play and updating the UI. This was not tested on Safari < 11.1.

The "onended" callbacks don't execute, and the UI is inaccurate after playback completes (AudioBuffer Played should say 51):

screen shot 2018-03-21 at 3 20 41 pm