Now with React-Mic-Gold you can record audio from any device, and your audio is created as either an MP3 file (super small file size) or WAV file (uncompressed professional quality audio). In other words, you can record audio from Iphone, Android, or Desktop from just one codebase (your React.js web application).
Think about this. Now you can create voice-activated, speech recognition, language-learning, podcasting, or audio recording Web applications that run in all major browsers and devices - including iOS and Android.
One codebase, every device.
And you can impress your users with two super cool visualizations as they record their audio.
SPECIAL NOTE: If you choose to let your users save audio as a highly compressed MP3 file, React-Mic-Gold encodes the audio in the browser
. You don't need to send the audio file to a backend server in order to encode. And, the MP3 encoding process occurs in a separate thread via a Web Worker and Web Assembly. So your main UI won't get sluggish for your users while MP3 encoding takes place. It's just super fast.
You can also stream data to a back-end API like Google Speech-To-Text by using the onData callback (see docs