mirror of
https://github.com/danog/libtgvoip.git
synced 2024-11-30 04:39:03 +01:00
fix
This commit is contained in:
parent
cfd62e66a8
commit
fc13464b35
@ -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
Block a user