Merge commit 'c76b0a3f0c5019a3db268217ca13a01435f21e2b' into as 'libtgvoip'

This commit is contained in:
infactum 2019-02-08 18:10:28 +05:00
commit fa9798eff1
1 changed files with 2 additions and 0 deletions

View File

@ -1489,6 +1489,7 @@ void VoIPController::InitUDPProxy(){
string proxyHostPort(sbuf);
if(proxyHostPort==lastTestedProxyServer && !proxySupportsUDP){
LOGI("Proxy does not support UDP - using UDP directly instead");
ResetUdpAvailability();
return;
}
@ -3366,6 +3367,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){