8fps8fps8fps8fps8fps8fps8fps8fps
This commit is contained in:
parent
77aeccccef
commit
ca7faf698f
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue