muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.61k stars 1.76k forks source link

Add support for mime audio/raw #541

Open maczikasz opened 5 years ago

maczikasz commented 5 years ago

Hi, it would be really nice if we could specify audio/raw instead of having a wav container for each event on ondataavailable, now i just slice off the first 44 bytes of the buffer, but it's a really crappy solution, would be really cool if recording raw pcm data was supported out of the box and that we do not need to do such ugly hacks as (https://github.com/muaz-khan/RecordRTC/issues/261)

imnasnainaec commented 4 years ago

Does mimeType: "audio/webm;codecs=pcm" in your configuration help?

skibulk commented 3 years ago

Can you please share your workaround code for merging multiple WAV files @maczikasz?