Turnserver Config to avoid "701" Problem

Hi there,

I just want to share my experiences with problematic Users (Nat, Firewall, Cooperate Networks).


  • No direct connection
  • Blocked UDP
  • Various Firewalls

First we tried to enable TCP-Harvesting on the Videobridge which solves some issues.

Next we setup a Coturn instances wich solves some more problems but we hit the “701” Bug - just Google for WebRTC 701. Easy to test with Trickle ICE

We found out that this mostly happens using turns but not with turn so we used following config:

turncredentials = {
  { type = "stun", host = "turn-1.meet.example.com", port = "443", transport = "tcp" },
  { type = "turn", host = "turn-1.meet.example.com", port = "443", transport = "tcp" },

Next, lib-jitsi-meet filters for turns so we removed this

sed -i 's/startsWith("turns")/startsWith("turn" )/' /usr/share/jitsi-meet/libs/lib-jitsi-meet.min.js

Now most problematic Users can connect.