Better estimation of audio delay for AEC

This commit is contained in:
Grishka
2017-05-14 16:28:17 +03:00
parent 6dcf281d24
commit 73bf810c79
5 changed files with 30 additions and 5 deletions

View File

@@ -2098,7 +2098,10 @@ Endpoint::Endpoint(int64_t id, uint16_t port, IPv4Address& _address, IPv6Address
}
Endpoint::Endpoint() : address(0), v6address("::0") {
lastPingSeq=0;
lastPingTime=0;
averageRTT=0;
memset(rtts, 0, sizeof(rtts));
}
#if defined(__APPLE__) && TARGET_OS_IPHONE