upadhyaypushpendra / webm-to-wav-converter

JavaScript package to convert audio/webm audio format into audio/wave
GNU General Public License v3.0
15 stars 3 forks source link

Fix issue #3: Blob data not converted to audio buffer (wavBlobUtil.js) #4

Closed bilalshafim closed 1 year ago

bilalshafim commented 1 year ago

When recording audio with mediaRecorder API, the method _getAudioBuffer does not accept the Blob. We can also pass the blob type to the method so (if) the new blob is created, it is created dynamically for audio/webm or cideo/webm.

upadhyaypushpendra commented 1 year ago

@bilalshafim Since, the library is addressing only audio conversion. It is expecting the blob as audio/webm. It doesn't required to externally specify the type of blob.

bilalshafim commented 1 year ago

That is perfectly fine to keep the codec static (audio/webm) but the issue of it not accepting a Blob returned by the mediaRecorder still persists.