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

2.0.3 • Public • Published

banner

npm version

This is a cross-platform (Android and iOS) audio library for React Native. Both audio playback and recording is supported. In addition to basic functionality, many useful features are implemented such as seeking, looping and streaming audio files over the network.

An example how to use this library is included in the ExampleApp directory. The demo showcases most of the functionality that is available, with documentation under docs. In the simplest case, playing media is as easy as:

new Player('filename.mp4').play();

and recording media to filename.mp4 similarly

new Recorder(‘filename.mp4’).record();

How to get this stuff running?

Documentation

License

All JavaScript, Android and iOS code licensed under MIT license, see LICENSE file. Some of the files are from React Native templates and are licensed accordingly.

Package Sidebar

Install

npm i @react-native-community/audio-toolkit

Weekly Downloads

3,939

Version

2.0.3

License

MIT

Unpacked Size

124 kB

Total Files

29

Last publish

Collaborators

  • dmitryrykun
  • safaiyeh
  • cortinico
  • lunaleaps
  • bartoszklonowski
  • titozzz
  • empyrical
  • cpojer
  • mattoakes
  • ferrannp
  • mike866
  • krizzu
  • trensik
  • thymikee
  • nicholaslee119
  • mmazzarolo
  • rewieer
  • janicduplessis
  • swaagie
  • kelset
  • johandutoit
  • vonovak
  • wojteg1337
  • naturalclar
  • connectdotz
  • pvinis
  • brentvatne
  • evanbacon
  • eliwhite
  • alloy