Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
libnice
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
0.1.17
Milestone
0.1.17
Assign milestone
Time tracking
None
Due date
None