React Native module used for two-way audio
$ npm i git://github.com/Tarteel-io/react-native-microphone-stream.git
$ react-native link react-native-microphone-stream
import MicStream from 'react-native-microphone-stream';
const listener = MicStream.addListener(data => console.log(data));
MicStream.init({
bufferSize: 4096,
sampleRate: 44100,
bitsPerChannel: 16,
channelsPerFrame: 1,
});
MicStream.start();
...
MicStream.stop();
listener.remove();