From e8134df7f3a5f2df744ba61919af7af425f1d073 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Sat, 29 Aug 2020 18:20:02 -0700 Subject: [PATCH] Send motion and camera more often --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index a9ca3a8..3f5fbd6 100644 --- a/js/main.js +++ b/js/main.js @@ -358,7 +358,7 @@ class BrowserMod { this._motionTimeout = setTimeout(() => { this._fullyMotion = false; this.update(); - }, 5000); + }, 1000); this.update(); } @@ -398,7 +398,7 @@ class BrowserMod { camera: this._canvas.toDataURL('image/png'), }, }); - setTimeout(this.send_cam.bind(this), 5000); + setTimeout(this.send_cam.bind(this), 1000); }