This commit is contained in:
yumoqing 2025-09-29 23:50:19 +08:00
parent 709ea3afe0
commit 1786518ec3

View File

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