lxndrdagreat / dm-display-preact-client

DM Display web client made with Preact
https://dmdisplay.app
MIT License
0 stars 0 forks source link

Websocket times out after 1 minute #22

Closed lxndrdagreat closed 3 years ago

lxndrdagreat commented 3 years ago

Need to have a ping-pong/heartbeat for when activity is low, otherwise websockets automatically close.

lxndrdagreat commented 3 years ago

Using request animation frame isn't working in certain browsers when the tab loses focus. Need to do something else.

lxndrdagreat commented 3 years ago

Switching this to use setInterval.