diff options
-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 | }); |