react-native-microphone-stream
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

react-native-microphone-stream

React Native module used for microphone and input audio streams. More options to follow soon.

Install

$ npm i react-native-microphone-stream

iOS

$ npx pod-install ios

Usage

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.pause();
MicStream.stop();
listener.remove();

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i react-native-microphone-stream

    Weekly Downloads

    66

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    31.6 kB

    Total Files

    22

    Last publish

    Collaborators

    • marksyzm