Send motion and camera more often

This commit is contained in:
Kendell R authored and Thomas Lovén committed 2020-10-21 20:14:24 +02:00
1 parent fe39c6d617
commit e8134df7f3
1 file changed
+2 -2
+2 -2
View File
@@ -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);
} }