Skip to content
Snippets Groups Projects
Commit e4cdde22 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

ringaccount: register a public address at ICE creation

This patch tries to solve a situation where one peer has
a TURN server registered but the other peer doesn't have
any NAT traversal systems.
To solve that we use a recent OpenDHT API that returns
a list of public IP discovered during DHT transferts.
The most seen address is used to register a new relflective
candidate, coupled to an existing and registered host address.
It's port is stolen, but as this candidate is added after
ICE initialization, the candidate is not used for negotiation.
This is mosly a PJSIP hack as we use an implementation details.

Issue: #78582
Change-Id: Ic16527f04b4e07905c405d8681223a02fee16d55
parent d578cc4d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment