react-native-realtime-audio-player
v0.1.2
Published
This is a package which will help you play PCM stream
Downloads
17
Readme
react-native-realtime-audio-player
This is a package which will help you play PCM stream
Installation
npm install react-native-realtime-audio-player
Usage
import { initialize, playAudioData } from 'react-native-realtime-audio-player';
// ...
initialize(BYTE_SIZE, SAMPLE_RATE, CHANNELS);
const result = await playAudioData(event.data);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library