1
0
mirror of http://www.pogo.org.uk/~mark/trx.git synced 2024-11-24 11:25:06 +01:00

Port to the widespread versions of ortp library

This commit is contained in:
Mark Hills 2014-03-14 14:48:12 +00:00
parent 1d4c64dd9f
commit f84c7e0726

2
rx.c
View File

@ -47,7 +47,7 @@ static RtpSession* create_rtp_recv(const char *addr_desc, const int port,
session = rtp_session_new(RTP_SESSION_RECVONLY);
rtp_session_set_scheduling_mode(session, 0);
rtp_session_set_blocking_mode(session, 0);
rtp_session_set_local_addr(session, addr_desc, port);
rtp_session_set_local_addr(session, addr_desc, port, -1);
rtp_session_set_connected_mode(session, FALSE);
rtp_session_enable_adaptive_jitter_compensation(session, TRUE);
rtp_session_set_jitter_compensation(session, jitter); /* ms */