continue the AirPlay saga - release

This commit is contained in:
philippe44
2020-03-29 22:40:40 -07:00
parent 6b5c9188c6
commit 4c546180fd

View File

@@ -703,7 +703,7 @@ static void *rtp_thread_func(void *arg) {
u64_t remote =(((u64_t) ntohl(*(u32_t*)(pktp+16))) << 32) + ntohl(*(u32_t*)(pktp+20));
u32_t roundtrip = gettime_ms() - reference;
// better discard sync packets when roundtrip is suspicious
// better discard sync packets when roundtrip is suspicious
if (roundtrip > 100) {
// ask for another one only if we are not synced already
if (!(ctx->synchro.status & NTP_SYNC)) rtp_request_timing(ctx);