First, I tried MediaRecorder API to record audio clips but the output files have some issues. Then I tried different libraries such as react-audio-voice-recorder
, react-mic
, ...etc. But they also gave me the same output.
Issues I face:
This example of React-Mic-Gold gives the output I want but, it has announced that React-Mic-Gold no longer supporting
I would appreciate anyone with experience implementing an audio recorder in React here.
I fixed the issues mentioned above and created an npm package to simplify usage. If anyone is facing the same issue, please try this out.