PARA_NOTICE_LOG("receiving from %s:%d\n", conf->host_arg, conf->port_arg);
rtp_session_set_local_addr(pord->session, conf->host_arg, conf->port_arg);
rtp_session_set_payload_type(pord->session, PAYLOAD_AUDIO_CONTINUOUS);
PARA_NOTICE_LOG("receiving from %s:%d\n", conf->host_arg, conf->port_arg);
rtp_session_set_local_addr(pord->session, conf->host_arg, conf->port_arg);
rtp_session_set_payload_type(pord->session, PAYLOAD_AUDIO_CONTINUOUS);
- rtp_session_enable_adaptive_jitter_compensation(pord->session, TRUE);
- rtp_session_set_jitter_compensation(pord->session, 40);
+ if (conf->jitter_compensation_arg) {
+ rtp_session_enable_adaptive_jitter_compensation(pord->session, TRUE);
+ rtp_session_set_jitter_compensation(pord->session,
+ conf->jitter_compensation_arg);
+ }