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',