aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2024-01-05 00:57:17 +0100
committerpacien2024-01-05 00:57:17 +0100
commit25910077e8624ae4f4495eda67f74b4fa4ff6e9b (patch)
treea4a90a32b30ac2d4a6ca2c3ef9134e2613afa75e
parentcc084c4f96e0117e4c7b80dc870f4ac2f6a60035 (diff)
downloadechoclip-25910077e8624ae4f4495eda67f74b4fa4ff6e9b.tar.gz
add todo
-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 });