sivaprakashDesingu / react-voice-recorder

This (react-voice-recorder) is a JavaScript library for React Applicaiton which will be used to record voice as audio and download the same.

Home Page:https://codesandbox.io/s/react-voice-recorder-mydov?file=/src/App.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where is handleAudioUpload() defined?

ChidiNweze opened this issue · comments

I want to refactor this package so that handleAudioStop() takes a file as input rather than the blob/audio details (instead of handleAudioUpload). Essentially, I want to get rid of the upload button, as this is part of a form. I want to do the uploading of the file at the end of the form along with the other data.

Do you know what steps I can take to do this? I cannot find where the audio is converted from a blob to file.

Worked around this by updating the node module. I called handleAudioUpload inside the .saveAudio() method, passing in the blob.