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

Help me! - "Uncaught Error: Invalid ADTS header." #14

Open
jsvenus opened this issue Aug 1, 2016 · 0 comments
Open

Help me! - "Uncaught Error: Invalid ADTS header." #14

jsvenus opened this issue Aug 1, 2016 · 0 comments

Comments

@jsvenus
Copy link

jsvenus commented Aug 1, 2016

I'm trying to decode AAC audio stream by fromBuffer().

Help me!
//---------------------------------------------------------------------
this.ws.onmessage = function (evt) {

        buffer = new AV.Buffer(new Uint8Array(evt.data));
                asset = AV.Asset.fromBuffer(buffer);
                player = new AV.Player(asset);
                asset.start();

    }.bind(this);

//---------------------------------------------------------------------
help me

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