An audio recording and playback library for react-native.
This release recording and playback of the recording only. PRs are welcome for configuring the audio settings.
NOTE: The target filename must have an extension of '.caf' to record properly.
npm install react-native-audio
- In the XCode's "Project navigator", right click on project's name โ
Add Files to <...>
- Go to
node_modules
โreact-native-audio
- Select the
ios/Audio*Manager.*
files
In the AudioExample directory:
npm install
- open AudioExample.xcodeproj
- Run
- Documentation
- Allow setting audio properties
- Convert JS api to a react component
- Store audio to media library
- Error handling over the js bridge
- Recommend react-native-video (media) for playback
Thanks to Brent Vatne, Johannes Lumpe, Kureev Alexey and the React Native community for assistance.
Progress tracking code borrowed from https://github.com/brentvatne/react-native-video.