2020年12月23日星期三

In WebRTC, when one user needs TURN but the other user does not, will traffic between them all go through TURN server?

What is WebRTC's behavior in establishing peer connection between following two users?

  • User A's network involves NAT/router such that direct connection to it is not possible, and it requires TURN relay.
  • User B's network can support direct connection.

I assume traffic from user B to user A must go through TURN server. However, does traffic from user A to user B also have to go through TURN?

In other words, when one of two users require TURN due to network constraints, will all traffic between them go through TURN server regardless of whether or not the other user supports direct connection?

https://stackoverflow.com/questions/65430000/in-webrtc-when-one-user-needs-turn-but-the-other-user-does-not-will-traffic-be December 24, 2020 at 03:37AM

没有评论:

发表评论