bugfix
This commit is contained in:
parent
709ea3afe0
commit
1786518ec3
@ -248,7 +248,7 @@ bricks.SysVideoRecorder = class extends bricks.MediaRecorder {
|
|||||||
if (this.task_period == 0){
|
if (this.task_period == 0){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
blob = await this.imageCapture.takePhoto();
|
var blob = await this.imageCapture.takePhoto();
|
||||||
this.dataurl = URL.createObjectURL(blob);
|
this.dataurl = URL.createObjectURL(blob);
|
||||||
this.imgfile = new File([blob],
|
this.imgfile = new File([blob],
|
||||||
'image.jpg',
|
'image.jpg',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user