From ca7faf698f8beb6b7ee239dabc7fbfb5d927c4ef Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 18 Aug 2023 17:46:07 -0700 Subject: [PATCH] 8fps8fps8fps8fps8fps8fps8fps8fps --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 866f9ff..4e349cd 100644 --- a/index.html +++ b/index.html @@ -232,7 +232,10 @@ let timer = null; source.addEventListener('playing', () => { if (!timer) { - timer = setInterval(update, 1000 / 10); + // target 8 fps + // not sure we can get any faster + // downloads over sio + timer = setInterval(update, 1000 / 8); } update(); });