TURN TCP: No relay candidates gathered
I switched from TURN-UDP to TURN-TCP and realised that libnice just stops gathering relay candidates at that point.
What I got so far:
1.) TURN UDP is working (libnice gathers relay candidates)
2.) libnice stops gathering relay candidates after using NICE_RELAY_TYPE_TURN_TCP
in nice_agent_set_relay_info ()
3.) The TURN server works with Googles Trickle-ICE example:
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
URL: turn:myturnserver.com:80?transport=tcp
Gathers: rtp relay 2376455387 udp x.x.x.x
4.) libnice accepts the TURN config:
libnice-DEBUG: 12:17:58.438: Agent 0x7fdb24015140: added relay server [x.x.x.x]:80 of type 1 to s/c 1/1 with user/pass : xxx -- ****
5.) Wireshark shows that my machine is not starting any communication to the TURN server at all after switching from turn-udp to turn-tcp (there are also no STUN packets at all).
I am using the newest libnice master 0.1.16.1