From 223dfd7801b56796aa52a23872e2b2ff2abc826f Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 2 Apr 2019 16:33:30 +0100 Subject: [PATCH] only need to ensure at least one packet has been received, it seems. --- rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtp.c b/rtp.c index 0e679d66..21648820 100644 --- a/rtp.c +++ b/rtp.c @@ -382,7 +382,7 @@ void *rtp_control_receiver(void *arg) { debug_mutex_lock(&conn->reference_time_mutex, 1000, 0); if (conn->initial_reference_time == 0) { - if (conn->packet_count_since_flush > 50) { + if (conn->packet_count_since_flush > 0) { conn->initial_reference_time = remote_time_of_sync; conn->initial_reference_timestamp = sync_rtp_timestamp; }