Expand my Community achievements bar.

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