@apardellass/react-native-audio-stream
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

react-native-audio-stream

Allows to send base64 audio streams.

Installation

npm i @apardellass/react-native-audio-stream

Usage

import AudioStream from "react-native-audio-stream";

const listener = AudioStream.addListener(data => console.log(data));
AudioStream.init({
  bufferSize: 4096,
  sampleRate: 44100,
  bitsPerChannel: 16,
  channelsPerFrame: 1,
});

AudioStream.start();
...
AudioStream.stop();
listener.remove();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i @apardellass/react-native-audio-stream

Weekly Downloads

2

Version

0.1.4

License

MIT

Unpacked Size

4.42 MB

Total Files

480

Last publish

Collaborators

  • apardellass