Redundant TCP connections connecting to Turn

Skip to first unread message

meron.elpaz rbbn

Jul 14, 2021, 2:12:45 PMJul 14
to discuss-webrtc

Our solution contains a Turn server for media relay. I'm doing some analysis and found a weird behavior where I get multiple Turn TCP connections created from my WebRTC client to the Turn server, though I expected to see only a single one. This affects our scalability considerations for TCP ports per call.

please help me understand this issue further

We are using audio call only (single m-line), with a single Turn server and rtcpMuxPolicy is require - I see 3 TCP connection to our Turn server, only one of this connections contain Application Data which I expect to be the Allocation request/response

I'm attaching the following:
1. webrtc-internals dump (second call is the relevant call)
2. Wireshark trace taken on my device

you can see in the trace the following:
  • Turn IP is, client IP is
  • packets 8/9/10 are SYN request packets to establish a TCP connection. only the packet 9 (port 52238) will contain Allocation request later down the trace, the others are idle
Thanks a lot


meron.elpaz rbbn

Jul 14, 2021, 3:04:44 PMJul 14
to discuss-webrtc
Adding the network trace

Reply all
Reply to author
0 new messages