Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle errors on "decodeAudioData" #2

Open
lannymcnie opened this issue Sep 22, 2017 · 0 comments
Open

Handle errors on "decodeAudioData" #2

lannymcnie opened this issue Sep 22, 2017 · 0 comments

Comments

@lannymcnie
Copy link
Contributor

In Safari and Firefox (OS X) I encountered an issue with audio that loaded, but failed to decode. Currently JAM does not handle or surface this error. Ideally it would console.error, or dispatch an event.

Here is a file that failed. It is 44kbps. When it was re-encoded for 48kbps, it worked fine, so that could be the cause. The error happens specifically when the file is loaded in an iframe, and it seemed to work fine when loaded in its own window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant