You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've had these crashes (and some related but less common ones) showing up in our apps for literally years as well =). I finally got around to updating to the latest Howler hoping perhaps the issue had been fixed, but, nope, still happening. So, I've started actively tracking down and fixing (in my fork) all Howler-related crashes we're seeing. It might not apply trivially (since my fork has diverged a little bit and not all other PRs are made/accepted yet), but the changes that managed to make these crashes go away for us are here: Jimbly@3bf5d31
The error rate for our users from this error dropped from a couple per hour down to 0 after this change.
As a bonus, avoiding using setValueAtTime() also fixes a delay of up to 100ms on FireFox since ctx.currentTime is a very low-resolution timer depending on the user's fingerprinting settings.
You may also be able to just try swapping to @jimbly/howler@0.1.7 (though I'm not doing any minification on my fork, leaving that up decision to the app that requires()s it for simplicity, so might not just work as a drop-in replacement)
The Problem
Noticed a steady flow of errors in Sentry coming from
Howler
caused bysetValueAtTime
.The problem might be somewhat related to #985, I only see this error happening on iOS Safari.
Reproducible Example
No response
Reproduction Steps
All captured errors are coming from iPhone users in Safari, ranging from iOS 17.2 to iOS 17.6.
Possible Solution
No response
Context
No response
Howler.js Version
v2.2.4
Affected Browser(s)/Versiuon(s)
No response
The text was updated successfully, but these errors were encountered: