Merge commit 'c76b0a3f0c5019a3db268217ca13a01435f21e2b' into as 'libtgvoip'
This commit is contained in:
commit
fa9798eff1
|
@ -1489,6 +1489,7 @@ void VoIPController::InitUDPProxy(){
|
||||||
string proxyHostPort(sbuf);
|
string proxyHostPort(sbuf);
|
||||||
if(proxyHostPort==lastTestedProxyServer && !proxySupportsUDP){
|
if(proxyHostPort==lastTestedProxyServer && !proxySupportsUDP){
|
||||||
LOGI("Proxy does not support UDP - using UDP directly instead");
|
LOGI("Proxy does not support UDP - using UDP directly instead");
|
||||||
|
ResetUdpAvailability();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3366,6 +3367,7 @@ void VoIPController::SetupOutgoingVideoStream(){
|
||||||
#pragma mark - Timer methods
|
#pragma mark - Timer methods
|
||||||
|
|
||||||
void VoIPController::SendUdpPings(){
|
void VoIPController::SendUdpPings(){
|
||||||
|
LOGW("Send udp pings");
|
||||||
MutexGuard m(endpointsMutex);
|
MutexGuard m(endpointsMutex);
|
||||||
for(pair<const int64_t, Endpoint>& e:endpoints){
|
for(pair<const int64_t, Endpoint>& e:endpoints){
|
||||||
if(e.second.type==Endpoint::Type::UDP_RELAY){
|
if(e.second.type==Endpoint::Type::UDP_RELAY){
|
||||||
|
|
Loading…
Reference in New Issue