-
- Downloads
Project 'savoirfairelinux/ring-daemon' was moved to 'savoirfairelinux/jami-daemon'. Please update any links and bookmarks that may still have the old path.
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
Showing
- src/call.h 1 addition, 1 deletionsrc/call.h
- src/ice_transport.cpp 37 additions, 11 deletionssrc/ice_transport.cpp
- src/ice_transport.h 6 additions, 4 deletionssrc/ice_transport.h
- src/ringdht/ringaccount.cpp 57 additions, 25 deletionssrc/ringdht/ringaccount.cpp
- src/ringdht/ringaccount.h 3 additions, 0 deletionssrc/ringdht/ringaccount.h
- src/sip/sipaccountbase.cpp 9 additions, 0 deletionssrc/sip/sipaccountbase.cpp
- src/sip/sipaccountbase.h 1 addition, 4 deletionssrc/sip/sipaccountbase.h
- src/sip/sipcall.cpp 13 additions, 0 deletionssrc/sip/sipcall.cpp
- src/sip/sipcall.h 2 additions, 0 deletionssrc/sip/sipcall.h
Loading
Please register or sign in to comment