Question: Does one person with bad ping/latency ruin it for everybody? #913
-
The question came up on Facebook and at our own rehearsal, and I was not able to answer it. Does the server do some kind of synchronization based on the ping/latency of all clients? Like is the worst latency the common denominator? Or does the server just collect all inputs in fixed cycles and sends the mix back (independent of the clients)? And if it has an influence, I have a special case follow-up question: If we have a guy with a bad connection and he is muted, does that have influence on the overall latency? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 1 reply
-
No, I don't think so.
Yes, that's my understanding. The server runs a (tight) loop which collects audio data for each client/channel: So, a slow/bad connection should not break a Jamulus server. It might ruin the experience musically for other users due to cracks, clicks or delays unless everyone mutes the problematic client. If you have evidence that a slow client does indeed cause technical troubles for everyone, I'm pretty sure it would be interesting to track down such cases (I think someone mentioned something like this in the past, but I cannot find the place). |
Beta Was this translation helpful? Give feedback.
-
One player not listening only to the mix can be playing out of sync without knowing and that will cause everyone else to start trying to allow for them and you'll get a "cascading" effect. |
Beta Was this translation helpful? Give feedback.
-
@hoffie I believe our sessions at HI-Studio1 is experiencing this behavior when a person with >150ms joined. The aberration affected all users. Having everyone mute this person did not resolve the problem. Normal behavior was established after the visitor disconnected. I believe this has been observed in two different weeks. What information do you want to collect? |
Beta Was this translation helpful? Give feedback.
-
WorldJam weekly concerts have have people playing together with over 100ms between some players and the server -- I'm not sure if it's as much as 150ms ping. The overall delay might be that high, I'm not sure. Did the new joiner state their ping and overall latency figures? |
Beta Was this translation helpful? Give feedback.
-
Curious. I will confirm. Assuming the delays are symmetric, my delay to a server in that local is >100ms. I will confirm the details for the next occurances. |
Beta Was this translation helpful? Give feedback.
-
Please quote both "Ping Time" and "Overall Delay" figures from the Jamulus Settings panel - without both, any figure isn't particularly useful. What do you mean by "symmetric"? For "Ping Time", your client sends a packet to the server with "now" on it, the server returns a packet with that original timestamp on it and your client determines how long it took. "Overall Delay" takes into account how much extra delay the displayed buffer sizes add to the ping time. |
Beta Was this translation helpful? Give feedback.
-
If we assume transit times are relatively symmetric, then I can get an estimate of ping and overall delay from what I see for a server near the user. |
Beta Was this translation helpful? Give feedback.
-
What do you mean by "symmetric"? Knowing transit times from A to B gives you no indication of transit times from C to B. Just because your routing ("from A") to a server ("B") is good, has no bearing on whether some other user's routing ("from C") to that same server is also good. Or bad. Only knowing both the "Ping Time" and "Overall Delay" figures shown in Jamulus can provide diagnostic information. |
Beta Was this translation helpful? Give feedback.
-
Besides what @pljones already said, the following details may be worth collecting: Jamulus server/client versions, number of users, server options ( |
Beta Was this translation helpful? Give feedback.
-
This is going to be tricky interrupting a rehearsal to collect all these details from 10-20 participants. Some of the participants are nervous about technology. My plan will be to first see if this condition will appear with under 10 participants. Then collect ping times, overall delay, and client versions when it happens. Hopefully, I will end up with participants that can help provide the other details. |
Beta Was this translation helpful? Give feedback.
-
I converted this to a discussion now since this is not an issue. |
Beta Was this translation helpful? Give feedback.
-
I've played many times with musicians having Overall Delay of 20-100ms, and the addition of new high-latency clients to the server has no impact. During a jam session yesterday, clients connected from the other side of the world (with Overall Delay of 200ms+) and there was no change for the musicians already on the server. I think those that are reporting this as an issue are actually seeing two things:
I don't think there's any engineering work for the client or server required. |
Beta Was this translation helpful? Give feedback.
I've played many times with musicians having Overall Delay of 20-100ms, and the addition of new high-latency clients to the server has no impact. During a jam session yesterday, clients connected from the other side of the world (with Overall Delay of 200ms+) and there was no change for the musicians already on the server.
I think those that are reporting this as an issue are actually seeing two things: