Recorderjs icon indicating copy to clipboard operation
Recorderjs copied to clipboard

getBuffer and exportWAV callbacks not firing

Open ericinspace opened this issue 10 years ago • 2 comments

This is for @jergason's fork, https://github.com/jergason/Recorderjs

getBuffer and exportWAV exist as functions on instances of Recorder, but their callbacks never fire. Any ideas why this could be happening? It seems to work when importing Recorder from mattdiamond/RecorderJS, so I'm pretty sure this is a problem with the fork.

ericinspace avatar Feb 05 '16 21:02 ericinspace

Doesn't even work in the non-forked example (https://github.com/mattdiamond/Recorderjs/blob/master/examples/example_simple_exportwav.html) ... sort of a bummer :disappointed:. There's also more wrong with the example, as it gives "cannot read property 'clear' of undefined", which does work in my own code.

sixtyfive avatar Feb 08 '16 13:02 sixtyfive

Hi, I've forked this and fixed the issue. It was a very simple fix. See here: https://github.com/brianjlowry/Recorderjs/blob/master/dist/recorder.js

brianjlowry avatar Feb 20 '18 18:02 brianjlowry