-
- Downloads
upnp: Always use published address as reflexive candidates
The external address of the IGD might not be always routable if the router is not directly connected to the internet. So we need to always add the published address returned by the DHT even if UPNP is enabled and actif. Failing to do so, and if the peer use only relay candidates, the TURN will reject all incoming connections from our public address because it were not in the candidates list and thus not authorized by TURN. The automatic reallocation of failing mappings was also improved. Change-Id: I5fb1424d5dc61b990595c229be647099b017eba1 Gitlab: #335
Showing
- src/account.cpp 8 additions, 8 deletionssrc/account.cpp
- src/account.h 4 additions, 4 deletionssrc/account.h
- src/ice_transport.cpp 107 additions, 79 deletionssrc/ice_transport.cpp
- src/jamidht/jamiaccount.cpp 44 additions, 17 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/jamiaccount.h 3 additions, 2 deletionssrc/jamidht/jamiaccount.h
- src/sip/sipaccount.cpp 2 additions, 2 deletionssrc/sip/sipaccount.cpp
- src/sip/sipaccountbase.cpp 10 additions, 2 deletionssrc/sip/sipaccountbase.cpp
- src/sip/sipaccountbase.h 1 addition, 1 deletionsrc/sip/sipaccountbase.h
- src/upnp/upnp_context.cpp 44 additions, 16 deletionssrc/upnp/upnp_context.cpp
- src/upnp/upnp_context.h 7 additions, 0 deletionssrc/upnp/upnp_context.h
- src/upnp/upnp_control.cpp 10 additions, 0 deletionssrc/upnp/upnp_control.cpp
- src/upnp/upnp_control.h 1 addition, 0 deletionssrc/upnp/upnp_control.h
Loading
Please register or sign in to comment