From 55d398c46c1a6d46e4e3be12072d94056f81f906 Mon Sep 17 00:00:00 2001 From: Mark Hills Date: Mon, 10 Mar 2014 20:01:18 +0000 Subject: [PATCH] Enfore a time jump relative to the jitter buffer Without this, use of the -j flag can easily exceed the default time jump. --- rx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rx.c b/rx.c index dd2f459..c716ea6 100644 --- a/rx.c +++ b/rx.c @@ -51,6 +51,7 @@ static RtpSession* create_rtp_recv(const char *addr_desc, const int port, rtp_session_set_connected_mode(session, FALSE); rtp_session_enable_adaptive_jitter_compensation(session, TRUE); rtp_session_set_jitter_compensation(session, jitter); /* ms */ + rtp_session_set_time_jump_limit(session, jitter * 2); /* ms */ if (rtp_session_set_payload_type(session, 0) != 0) abort(); if (rtp_session_signal_connect(session, "timestamp_jump",