I have a simple aurelia.js application, which is supposed to record audio using recorder-js.
I am using code from a github project called "simple-recorderjs-demo" to start a recorder-js recorder. It works fine in their demo, which is live https://addpipe.com/simple-recorderjs-demo/.
But the function ".record()" does not exist on the recorder object that I created. How can I get it to work ?
https://github.com/addpipe/simple-recorderjs-demo/blob/master/js/app.js
First solution: app.html
app.ts
Second solution:
update add sample https://gist.dumber.app/?gist=c04207dc496d5bb5a0344983497a7c18