Squashed 'libtgvoip/' changes from cfd62e6..fc13464

fc13464 fix

git-subtree-dir: libtgvoip
git-subtree-split: fc13464b35aeb373844bafc7a9a33b18ca7afa3b
This commit is contained in:
infactum 2019-02-08 18:10:28 +05:00
parent f66a2e2354
commit c76b0a3f0c
1 changed files with 2 additions and 0 deletions

View File

@ -1439,6 +1439,7 @@ void VoIPController::InitUDPProxy(){
string proxyHostPort(sbuf);
if(proxyHostPort==lastTestedProxyServer && !proxySupportsUDP){
LOGI("Proxy does not support UDP - using UDP directly instead");
ResetUdpAvailability();
return;
}
@ -3316,6 +3317,7 @@ void VoIPController::SetupOutgoingVideoStream(){
#pragma mark - Timer methods
void VoIPController::SendUdpPings(){
LOGW("Send udp pings");
MutexGuard m(endpointsMutex);
for(pair<const int64_t, Endpoint>& e:endpoints){
if(e.second.type==Endpoint::Type::UDP_RELAY){