diff options
author | pacien | 2024-01-05 00:57:17 +0100 |
---|---|---|
committer | pacien | 2024-01-05 00:57:17 +0100 |
commit | 25910077e8624ae4f4495eda67f74b4fa4ff6e9b (patch) | |
tree | a4a90a32b30ac2d4a6ca2c3ef9134e2613afa75e | |
parent | cc084c4f96e0117e4c7b80dc870f4ac2f6a60035 (diff) | |
download | echoclip-25910077e8624ae4f4495eda67f74b4fa4ff6e9b.tar.gz |
add todo
-rw-r--r-- | app.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 | }); |