0.0.4 • Published 4 months ago

react-native-mic-stream v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

react-native-mic-stream

React Native module used for two-way audio

Install

$ npm i git://github.com/oscarmuya/react-native-mic-stream.git
$ react-native link react-native-mic-stream

Usage

import MicStream from 'react-native-mic-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();
0.0.4

4 months ago

0.0.3

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago