From 2fef7cd9d3792d3bf1b2fc1994b117e7584942a1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 29 Sep 2025 11:07:48 +0800 Subject: [PATCH] bugfix --- bricks/camera.js | 1 - 1 file changed, 1 deletion(-) diff --git a/bricks/camera.js b/bricks/camera.js index bb87da4..979d16e 100644 --- a/bricks/camera.js +++ b/bricks/camera.js @@ -127,7 +127,6 @@ bricks.Camera = class extends bricks.Popup { this.mediaRecorder.onstop = () => { const blob = new Blob(this.recordedChunks, { type: 'video/webm' }); const url = URL.createObjectURL(blob); - resolve({ blob, url }); this.recordedChunks = []; this.dispatch('recorded', url); console.log('record end')