Kagami / vmsg

:musical_note: Library for creating voice messages
https://kagami.github.io/vmsg/
Creative Commons Zero v1.0 Universal
348 stars 58 forks source link

Zero blob size, comming on ios mobile chrome/safari #70

Open Gaurabag opened 3 months ago

Gaurabag commented 3 months ago

Hello,

I'm using this project on my website to receive recorded messages on my website

I tried to add pause functionality by appending multiple audio blobs into one, that means having starting a new recording every time on pause and appending all the blobs finally, sample code: recorder .stopRecording() .then((audioBlobtemp) => { const blobs = [...audioBlobs, audioBlobtemp] const audioBlob = blobs.reduce((a, b) => new Blob([a, b])) uploadAudio(audioBlob) }) it is working on mac chrome and android but in here audioBlob type comes to empty (audioBlob), which is causing issue