I have an issues with Audio Web API. Why when I use mediaRecorder.requestData(); instead MediaRecorder.stop() of the Blob retrieve from dataavailable event is "corrupt".
See here an example of output
Only the first blob from ondataavailable event will contain file signature. The rest will not contain it, hence it is not playable. You need to concatenate the blobs into one big blob.
Quoting from bugzilla
My understanding of the spec is that this bug is invalid; i.e., individual blobs are not individually decodable in general; they must be concatenated to produce a usable resource. And that's what we implemented.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With