As you might know, webrtc said to be peer-to-peer. But this true, when both sides can see each other and communicate inside of network, which is not achievable all the time (because of NATs and firewalls). So in these scenarios, STUN servers are not useful, and should use TURN servers instead. TURN servers used to be as a relay, connecting every peer to each other.
But as connection established, through the nature of TURN, the latency goes up. This can be a high value (for me 5-10 seconds) which ruins the UX of video calls.
I'm using coturn which is one of the most famous opensource TURN server out there.
The first question is that is there a way to reduce this latency caused by TURN server? For example, using a server that has lower ping time can be a better choice instead of a server with high value? is hardware is critical and improving the CPU power and RAM can decrease the latency?
The second question which is more important, what can I do in my client area, blurring this latency? I mean, is there any solution (UX based for example) to reduce impact of latency?
Thanks for any response.