Shih-En Chou Shih-En Chou - 10 months ago 60
Javascript Question

Record Audio Stream from getUserMedia

In recent days, I tried to use javascript to record audio stream.
I found that there is no example code which works.

Is there any browser supporting?

Here is my code

navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia ||
navigator.mozGetUserMedia || navigator.msGetUserMedia;

navigator.getUserMedia({ audio: true }, gotStream, null);
function gotStream(stream) {

msgStream = stream;
msgStreamRecorder = stream.record(); // no method record :(

Answer Source

You could check this site:

It stores the audio into a file (.wav) on the client side.