Closed keyhole425 closed 7 years ago
I have same issue, could u provide it?
Hi @keyhole425
I found the solution. Just add onStart prop for <ReactMic
like this https://github.com/hackingbeauty/react-mic/blob/master/demo/src/index.js
Hi @minhnguyenwp
Great spot, that fixed it for me too! Thanks.
Hi everyone. Mark here, author of this package. I started this package because I really wanted the functionality and the visualization; however, people are increasingly using it.
The code needs to be refactored and I need to add tests. I'm happy to work with someone else on refactoring the code and establishing the test suite. If you're interested, please ping me at mark.muskardin@gmail.com.
Until then, there may be bugs...
Howdy,
I've just set everything up to use react-mic.. Using react (v15.6.x), react-router (v4.1.x) and the latest version of react-mic (v7.0.8) I get an error: "Uncaught (in promise) TypeError: onStartCallback is not a function". Everything works as expected, until I go to start the audio recorder (via a button click) which is when it errors out (after it recognises that getUserMedia is available). A little digging shows that the issue seems to point to the onStartCallback var in MicrophoneRecorder.js
Here is my first attempt at getting it going:
Is this something on my end (relatively new to React) that I'm missing? Thanks for an otherwise superb library.
Cheers Kyle