From 2e25e3aab34f24b4ebf8c9d7df99aa373d9a0512 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Sat, 29 Aug 2020 19:03:46 -0700 Subject: [PATCH] Update even faster --- js/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/main.js b/js/main.js index 3f5fbd6..c4017a7 100644 --- a/js/main.js +++ b/js/main.js @@ -358,7 +358,7 @@ class BrowserMod { this._motionTimeout = setTimeout(() => { this._fullyMotion = false; this.update(); - }, 1000); + }, 500); this.update(); } @@ -395,10 +395,10 @@ class BrowserMod { type: 'browser_mod/update', deviceID: deviceID, data: { - camera: this._canvas.toDataURL('image/png'), + camera: this._canvas.toDataURL('image/jpeg'), }, }); - setTimeout(this.send_cam.bind(this), 1000); + setTimeout(this.send_cam.bind(this), 500); }