Enfore a time jump relative to the jitter buffer

Without this, use of the -j flag can easily exceed the default time
jump.
master
Mark Hills 2014-03-10 20:01:18 +00:00
parent a7904a4e08
commit 55d398c46c
1 changed files with 1 additions and 0 deletions

1
rx.c
View File

@ -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",