We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import LiveAudioStream from 'react-native-live-audio-stream'; const options = { sampleRate: 32000, // default is 44100 but 32000 is adequate for accurate voice recognition channels: 1, // 1 or 2, default 1 bitsPerSample: 16, // 8 or 16, default 16 audioSource: 6, // android only (see below) bufferSize: 4096 // default is 2048 }; LiveAudioStream.init(options); LiveAudioStream.on('data', data => { var chunk = Buffer.from(data, 'base64'); // base64-encoded audio data chunks console.log('DATA', { data, chunk }) }); LiveAudioStream.start(); // LiveAudioStream.stop();
Do the library is dead? I do not see any active maintainer reply any issues?
The text was updated successfully, but these errors were encountered:
Just give mic permission to app in settings
Sorry, something went wrong.
No branches or pull requests
Do the library is dead? I do not see any active maintainer reply any issues?
The text was updated successfully, but these errors were encountered: