Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
157
rated 0 times [  160] [ 3]  / answers: 1 / hits: 23567  / 12 Years ago, thu, august 16, 2012, 12:00:00

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 :(
}

More From » html

 Answers
8

You could check this site:
https://webaudiodemos.appspot.com/AudioRecorder/index.html



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


[#83612] Tuesday, August 14, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anikas

Total Points: 258
Total Questions: 102
Total Answers: 95

Location: Monaco
Member since Sun, Jan 16, 2022
2 Years ago
anikas questions
;