Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libnice
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libnice
  • libnice
  • Issues
  • #102

Closed
Open
Created Feb 15, 2020 by Sebastian Schmid@sebastian.s⛷

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

Assignee
Assign to
Time tracking