WebRTC is not supported by Apple platforms nor by most mobiles where this problem is most visible.
Solution would be to have servers on local data centres as well as good implementation of dead reckoning.
Although networking code been written in less than 8 hours initially, and since then not reviewed :)