Squashed 'libtgvoip/' changes from cfd62e6..fc13464
fc13464 fix git-subtree-dir: libtgvoip git-subtree-split: fc13464b35aeb373844bafc7a9a33b18ca7afa3b
This commit is contained in:
parent
f66a2e2354
commit
c76b0a3f0c
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue