Closed mylnikovD closed 3 years ago
Hi @mylnikovD, thanks for raising that issue. The sad answer is that the stop
event hasn't been implemented yet. It should be fairly straightforward to add it though. I will try to do it on the weekend.
Thanks for reply, and looking forward for implementation, really appreciated for your great work! Opus requires some worker magic to work properly with React's bundler, so I'd gladly use your library instead :)
Another question regarding audio processing. When I'm using your recorder to make 'audio/wav' instead of default 'audio/webm' in chrome for example, is the raw data from microphone changed somehow? For the project I'm working in now, we need the raw data intact
No the MediaStream
is used as is. But you would need to disable the echoCancellation
and co when calling getUserMedia()
to make sure you get the raw microphone data.
Version 6.3.0 does now fire a stop
event.
I'm using recorder in React in conjunction with wavesurfer.js to show the waves of recording and then create a player to listen the recording
When I click the button to stop recording, toggleRecording function works as it should, but console log in stop listener doesn't print, and nothing described there works. The same setup with opus-media-recorder works as it should, but I find your library more convenient to use, would appreciate any tips :)