Skip to content
New issue

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

getAudioData method or any other way to access the recorded audio data directly? #13

Open
helldiving opened this issue Jun 5, 2024 · 3 comments

Comments

@helldiving
Copy link

"VoiceRecorder component from the react-voice-recorder-player library is not exposing a getAudioData method or any other way to access the recorded audio data directly.
Since we're unable to retrieve the recorded audio data from the VoiceRecorder component, and the handleAudioRecordingComplete callback is not being invoked correctly, it seems that the issue might be related to a limitation or a bug in the react-voice-recorder-player library."

Attempting to use this library to be able to record audio snippets from phone and post to the feed of a practice social media app but^

@AbreezaSaleem
Copy link
Owner

@helldiving can you tell me more about the handleAudioRecordingComplete not being invoked correctly? What issue are you facing?

@ghost
Copy link

ghost commented Jun 28, 2024

There is no handleAudioRecordingComplete as far as I can see there is handleRecordingEnd.

@AbreezaSaleem
Copy link
Owner

@bootrino @helldiving It will be helpful if you could explain the issue you're facing a bit more.

The library exposes the onRecordingEnd function that fires when the recording ends. Can't you use that to retrieve the recorded audio data? It returns you the file as Blob.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants