mirror of
http://www.pogo.org.uk/~mark/trx.git
synced 2024-11-22 02:15:05 +01:00
Increase time jump
This commit is contained in:
parent
374308b810
commit
b53aa73137
2
rx.c
2
rx.c
@ -51,7 +51,7 @@ static RtpSession* create_rtp_recv(const char *addr_desc, const int port,
|
|||||||
rtp_session_set_connected_mode(session, FALSE);
|
rtp_session_set_connected_mode(session, FALSE);
|
||||||
rtp_session_enable_adaptive_jitter_compensation(session, TRUE);
|
rtp_session_enable_adaptive_jitter_compensation(session, TRUE);
|
||||||
rtp_session_set_jitter_compensation(session, jitter); /* ms */
|
rtp_session_set_jitter_compensation(session, jitter); /* ms */
|
||||||
rtp_session_set_time_jump_limit(session, jitter * 2); /* ms */
|
rtp_session_set_time_jump_limit(session, jitter * 16); /* ms */
|
||||||
if (rtp_session_set_payload_type(session, 0) != 0)
|
if (rtp_session_set_payload_type(session, 0) != 0)
|
||||||
abort();
|
abort();
|
||||||
if (rtp_session_signal_connect(session, "timestamp_jump",
|
if (rtp_session_signal_connect(session, "timestamp_jump",
|
||||||
|
Loading…
Reference in New Issue
Block a user