I am asking because I couldn\'t find the answer anywhere. I have successfully implemented RecorderJS in order to record microphone input in JS. However, the recorded file is WAV
I have found a nice library with live demos: MediaStreamRecorder
One of demos is here: Audio Recording
RecordRTC is also can be useful but MSR it seems is easier to start with.