Commit 7bac4a3e authored by Simon Morlat's avatar Simon Morlat

increment version number

parent e1ea9d51
Feb 20, 2014: ortp-0.23.0
- network simulator improvements
- updated to use ZRTPCPP>=4.0
- security bugfixes
May 27, 2012: ortp-0.22.0
- network simulator improvements for simulating random lost packets
- srtp initialization bugfix
......
dnl Process this file with autoconf to produce a configure script.
AC_INIT([ortp],[0.22.1])
AC_INIT([ortp],[0.23.0])
AC_CANONICAL_SYSTEM
dnl Source packaging numbers
......
......@@ -1322,7 +1322,7 @@ static void compute_rtt(RtpSession *session, const struct timeval *now, const re
uint32_t approx_ntp=(curntp>>16) & 0xFFFFFFFF;
uint32_t last_sr_time=report_block_get_last_SR_time(rb);
uint32_t sr_delay=report_block_get_last_SR_delay(rb);
/*ortp_message("rtt curntp=%u, last_sr_time=%u, sr_delay=%u",approx_ntp,last_sr_time,sr_delay);*/
/*ortp_message("rtt approx_ntp=%u, last_sr_time=%u, sr_delay=%u",approx_ntp,last_sr_time,sr_delay);*/
if (last_sr_time!=0 && sr_delay!=0){
double rtt_frac=approx_ntp-last_sr_time-sr_delay;
if (rtt_frac>=0){
......@@ -1333,7 +1333,7 @@ static void compute_rtt(RtpSession *session, const struct timeval *now, const re
rtt_frac+=sim_delay;
}
session->rtt=rtt_frac;
/*ortp_message("rtt estimated to %f ms",session->rtt);*/
/*ortp_message("rtt estimated to %f s",session->rtt);*/
}else ortp_warning("Negative RTT computation, maybe due to clock adjustments.");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment