Shih-En Chou Shih-En Chou - 1 year ago 99
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download