Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

pings and latency measurement

Avatar

Level 4

i need to provide a live report of users' latency in a room.

in UserManager i see the event "userPingDataChange" as well as the setPingData() function.  i assume the event is dispatch when that function is called, but where do i get the p_latency and p_drops values?  are these values relative to the FMS server only?

in the case where users are connected via p2p, i obviously need to measure latency from each user to all other users.  is there a built in function in the API for me to do this, or do i need to roll my own?  in that case, i can only measure latency and have no means for measuring packet loss, correct?

0 Replies