aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.js b/app.js
index a761769..345c613 100644
--- a/app.js
+++ b/app.js
@@ -28,6 +28,8 @@ function onGetDeviceSuccess(stream) {
28 const mediaRecorder = new MediaRecorder(stream); 28 const mediaRecorder = new MediaRecorder(stream);
29 let recordingChunks = []; 29 let recordingChunks = [];
30 30
31 // TODO: add some recording indicator (red bullet) when recording
32
31 mediaRecorder.addEventListener("dataavailable", event => { 33 mediaRecorder.addEventListener("dataavailable", event => {
32 recordingChunks.push(event.data); 34 recordingChunks.push(event.data);
33 }); 35 });