-
- Downloads
jamiaccount: make getIceOptions async and resolve ips
storeActiveIpAddress is done for each connectivityChange(), but this logic is incorrect, because the ISP can change the IP of the router without any connectivityChange(). This means that if no connectivityChange() the address in the candidates will be incorrect if the public ip is changed by the ISP. The idea here is to get the public IP as soon as the IceOptions are generated. This changes the signature of getIceOptions() and removes it from Account. After all, the account has no need to always manage ICE the same way (maybe one day we will have accounts without ICE). GitLab: #534 Change-Id: I56613e9ce48ef21f66dcf188d33334802aae601b
Showing
- src/account.cpp 0 additions, 8 deletionssrc/account.cpp
- src/account.h 0 additions, 7 deletionssrc/account.h
- src/jamidht/connectionmanager.cpp 134 additions, 121 deletionssrc/jamidht/connectionmanager.cpp
- src/jamidht/jamiaccount.cpp 109 additions, 103 deletionssrc/jamidht/jamiaccount.cpp
- src/jamidht/jamiaccount.h 2 additions, 2 deletionssrc/jamidht/jamiaccount.h
- src/sip/sipaccountbase.cpp 2 additions, 1 deletionsrc/sip/sipaccountbase.cpp
- src/sip/sipaccountbase.h 1 addition, 1 deletionsrc/sip/sipaccountbase.h
- src/upnp/upnp_context.cpp 4 additions, 3 deletionssrc/upnp/upnp_context.cpp
Loading
Please register or sign in to comment