rtp_session_set_local_addr(pord->session, c->host_arg, c->port_arg);
rtp_session_set_remote_addr(pord->session, c->host_arg, c->port_arg);
rtp_session_set_payload_type(pord->session, PAYLOAD_AUDIO_CONTINUOUS);
- if (c->jitter_compensation_arg) {
- rtp_session_enable_adaptive_jitter_compensation(pord->session, TRUE);
- rtp_session_set_jitter_compensation(pord->session,
+ rtp_session_enable_adaptive_jitter_compensation(pord->session, TRUE);
+ rtp_session_set_jitter_compensation(pord->session,
c->jitter_compensation_arg);
- }
return 1;
}
section "ortp options"
option "host" i "ip or host to receive rtp packets from" string default="224.0.1.38" optional
option "port" p "udp port." int typestr="portnumber" default="1500" optional
-option "jitter_compensation" j "non-zero values enable ortp's adaptive jitter compensation" int typestr="milliseconds" default="400" optional
+option "jitter_compensation" j "set ortp's adaptive jitter compensation" int typestr="milliseconds" default="0" optional