thanks for this nice sample. it is so helpful. but i am facing a problem.
in sample-codes / html5 / media_recording.html
in this page u used
mediaRecorder.ondataavailable = function ondataavailable(e) {
count++;
// TODO concat blob
if (count > 1)
return;
log(e.data + " " + count);
document.getElementById('playback').src =
window.URL.createObjectURL(e.data);
};
as u used if (count > 1) return; so it executes once. i am trying to play in every 2 sec. i removed this condition checking. but in that case code also played first time only. what should i do to play the recorded audio in every 2 sec here ? Is there any issue ?