Skip to content

v2.2.1 — Safari audio-on-reload fix

Latest

Choose a tag to compare

@jeffreytgilbert jeffreytgilbert released this 25 Jun 04:47
· 1 commit to main since this release

Fix: audio clips no longer vanish ("still decoding") after a page refresh in Safari.

Root cause: Safari/WebKit drops the backing store of Blobs persisted in IndexedDB, so reading them back after a reload failed (WebKitBlobResource error 1) and clips never decoded. Audio is now persisted as ArrayBuffers — structured clone copies them by value, so they always read back intact. Old sessions still load and are rewritten safely on the next save (self-healing). Voice clips also re-decode on demand, recovering transient failures.