WebRTC: Matching up nearest peers

前端 未结 3 791
萌比男神i
萌比男神i 2021-02-05 05:19

Given a single public IP address (peer A) and a list of many other public IP addresses (a mix of IPv4 and IPv6 addresses), what is the easiest way to match up peer A the IP addr

3条回答
  •  悲哀的现实
    2021-02-05 05:59

    The easiest way to find the nearest peers, would be to send each of the peers an echo request and measure the time it takes to get a response, like ping does.

提交回复
热议问题