@apardellass/react-native-audio-stream
Allows to send base64 audio streams
Last updated a month ago by apardellass .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @apardellass/react-native-audio-stream 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.4                                ...           latest (a month ago)

5 Versions

  • 0.1.4                                ...           a month ago
  • 0.1.3                                ...           a month ago
  • 0.1.2                                ...           a month ago
  • 0.1.1                                ...           a month ago
  • 0.1.0                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 44
Dependencies (808)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |