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

parameter 1 is not of type 'ArrayBuffer' #36

Open
qzcsgs opened this issue Apr 7, 2020 · 2 comments
Open

parameter 1 is not of type 'ArrayBuffer' #36

qzcsgs opened this issue Apr 7, 2020 · 2 comments

Comments

@qzcsgs
Copy link

qzcsgs commented Apr 7, 2020

Uncaught (in promise) TypeError: Failed to execute 'decodeAudioData' on 'BaseAudioContext': parameter 1 is not of type 'ArrayBuffer'.

@BenzLeung
Copy link
Owner

Which "InitWith" function did u use below?

amr.initWithArrayBuffer(array);
amr.initWithBlob(blob);
amr.initWithUrl(url);

@Xyelidae
Copy link

Xyelidae commented Sep 3, 2020

你可能是使用了 mock.js,这个插件会修改劫持 XHR

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

3 participants