mirror of
http://www.pogo.org.uk/~mark/trx.git
synced 2024-11-21 18:05:06 +01:00
Use constants for clarity
This commit is contained in:
parent
ad80d6b1c1
commit
b7ac96036d
4
rx.c
4
rx.c
@ -45,8 +45,8 @@ static RtpSession* create_rtp_recv(const char *addr_desc, const int port,
|
|||||||
RtpSession *session;
|
RtpSession *session;
|
||||||
|
|
||||||
session = rtp_session_new(RTP_SESSION_RECVONLY);
|
session = rtp_session_new(RTP_SESSION_RECVONLY);
|
||||||
rtp_session_set_scheduling_mode(session, 0);
|
rtp_session_set_scheduling_mode(session, FALSE);
|
||||||
rtp_session_set_blocking_mode(session, 0);
|
rtp_session_set_blocking_mode(session, FALSE);
|
||||||
rtp_session_set_local_addr(session, addr_desc, port, -1);
|
rtp_session_set_local_addr(session, addr_desc, port, -1);
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user