From 25910077e8624ae4f4495eda67f74b4fa4ff6e9b Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 5 Jan 2024 00:57:17 +0100 Subject: add todo --- app.js | 2 ++ 1 file changed, 2 insertions(+) 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) { const mediaRecorder = new MediaRecorder(stream); let recordingChunks = []; + // TODO: add some recording indicator (red bullet) when recording + mediaRecorder.addEventListener("dataavailable", event => { recordingChunks.push(event.data); }); -- cgit v1.2.3