From 1786518ec330a179b6e9a716ef3a2fecba38b2c5 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 29 Sep 2025 23:50:19 +0800 Subject: [PATCH] bugfix --- bricks/recorder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/recorder.js b/bricks/recorder.js index f2ee5d6..2de646d 100644 --- a/bricks/recorder.js +++ b/bricks/recorder.js @@ -248,7 +248,7 @@ bricks.SysVideoRecorder = class extends bricks.MediaRecorder { if (this.task_period == 0){ return; } - blob = await this.imageCapture.takePhoto(); + var blob = await this.imageCapture.takePhoto(); this.dataurl = URL.createObjectURL(blob); this.imgfile = new File([blob], 'image.jpg',