From cc0e24082f14341c613820218b575cc26ec05581 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 29 Sep 2025 11:05:26 +0800 Subject: [PATCH] bugfix --- bricks/camera.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bricks/camera.js b/bricks/camera.js index a7bf124..bb87da4 100644 --- a/bricks/camera.js +++ b/bricks/camera.js @@ -130,11 +130,12 @@ bricks.Camera = class extends bricks.Popup { resolve({ blob, url }); this.recordedChunks = []; this.dispatch('recorded', url); + console.log('record end') } this.mediaRecorder.start(); } videorecorder_stop(){ - this.mediaRecirder.stop(); + this.mediaRecorder.stop(); } take_picture(event){ event.stopPropagation();