Send motion and camera more often
This commit is contained in:
parent
fe39c6d617
commit
e8134df7f3
@ -358,7 +358,7 @@ class BrowserMod {
|
|||||||
this._motionTimeout = setTimeout(() => {
|
this._motionTimeout = setTimeout(() => {
|
||||||
this._fullyMotion = false;
|
this._fullyMotion = false;
|
||||||
this.update();
|
this.update();
|
||||||
}, 5000);
|
}, 1000);
|
||||||
this.update();
|
this.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -398,7 +398,7 @@ class BrowserMod {
|
|||||||
camera: this._canvas.toDataURL('image/png'),
|
camera: this._canvas.toDataURL('image/png'),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
setTimeout(this.send_cam.bind(this), 5000);
|
setTimeout(this.send_cam.bind(this), 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user