04-12-2020, 04:32 AM
(This post was last modified: 04-12-2020, 04:51 AM by Hans Peter Augustesen.)
(04-12-2020, 02:30 AM)Grateful Dead Jams Wrote: Interesting conversation. I've read elsewhere it's P2P, but have not see any proof of this, other then JK members sharing the information. I'm okay with being wrong when I say, regardless of what people are saying about P2P, the app is calling home somewhere to broker everything.It is fairly easy to get a hard proof of that the audio and video transmission goes directly from person to person - and not through the server. That it is peer-to-peer.
I'll have to check the original videos the developers put together years ago but I don't recall any of them taking a deep dive into the details of the application. That said, compared to some other jamming apps, JK does not strike me as a thin client due to all the social networking bells and whistles; chat, notification pop up, recording abilities, etc. I have to assume all contribute to CPU and network usage and affect latency, since they are sharing the same connection. I'm just starting to check out the Manage menu networking options and setting up client pairing to another user in the same ISP network.
But that is not needed. Pure logic can do the trick.
When I am playing with another person 100 meters from me, the total latency between him and me is around 15 milliseconds.
15 milliseconds is the amount of time it takes for the light to travel 4.500 kilometers.
From me in Denmark to the server in Texas, USA is 8.500 kilometers.
And back again to my neighbour is another 8.500 kilometers.
Total : 17.000 kilometer.
It will take at least 50 milliseconds for the light to travel that 17.000 kilometer.
On top of that comes that the average speed of the datatransmisson in the optic cables + hubs and nodes is NOT 300.000 kilometers per second, but rather 100.000 or 150.000 - due to physical etc. limitations.
If the audio and video transmission was going through the server, the latency between my neighbour and me would then be 125-170 milliseconds.
So the conclusion is: JamKazams transmission of sound and video can ONLY be peer-to-peer.
It can NOT be through the server.