Skip to content

Handle errors on "decodeAudioData" #2

@lannymcnie

Description

@lannymcnie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions