issues
search
eliasku
/
13
Fast-action P2P multiplayer game 13 (js13k-2022)
https://iioi.herokuapp.com/
94
stars
27
forks
source link
Measure and display RTC packet lag time for each peer
#73
Closed
eliasku
closed
1 year ago
eliasku
commented
1 year ago
Add display information for each client,
Add display information for host HTTP communication lag
eliasku
commented
1 year ago
For RTC data channel lag:
Last time received to calc lag. Client save
ts0
, set
ts0
to packet. Remote update remote client state
ts1
, remote send packet with
ts1
from remote client state. Lag is
ts0 - cl.ts1