-
Notifications
You must be signed in to change notification settings - Fork 131
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
Blob show type as audio/wav but still show up as webm after converted to Base64 #101
Comments
@andrewroar did you end up figuring this out? Facing the same issue. |
@ramonrovirosa I'm afraid not. I end up just writing my own recorder instead. |
In case it helps anyone in the future, what I did was pass the file as a base64 string to the server and on the server using ffmpeg, I converted the file to an mp3. That finally worked. Something like this Frontend React
Then on my server essentially I did with ffmpeg
|
I'm facing the same issue and I have to use |
After recording and recieve the blob as audio/wav, I use new FileReader().readAsDataURL(blob) to convert to base64. I then tried to convert it back to audio with the following website (https://base64.guru/converter/decode/audio) but it indicates it as webm.
I am trying to pass the base64 to another api which only support wav. The base64 I got from converting the blob currently does not work despite working with other wav files we tested it with.
The text was updated successfully, but these errors were encountered: