From: Yann Diorcet Date: Tue, 15 May 2012 15:08:57 +0000 (+0200) Subject: Add rtp timestamp configure option + debug option X-Git-Url: http://sjero.net/git/?p=linphone;a=commitdiff_plain;h=e74d43779caf53e19cad16633b193071ed57d5f2 Add rtp timestamp configure option + debug option Update oRTP & mediastreamer2 --- diff --git a/configure.ac b/configure.ac index 2bead21d..a56a93cb 100644 --- a/configure.ac +++ b/configure.ac @@ -245,6 +245,24 @@ if test x$ipv6 = xtrue ; then fi AC_SUBST(IPV6_CFLAGS) +dnl enable timestamp support +AC_ARG_ENABLE(rtp-timestamp, + [ --enable-rtp-timestamp Turn on RTP packet timestamp], + [case "${enableval}" in + yes) rtptimestamp=true;; + no) rtptimestamp=false;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-rtp-timestamp) ;; + esac],[rtptimestamp=false]) + +AC_ARG_ENABLE(debug, + [ --enable-debug=[yes/no] enables the display of traces showing the execution of the library. [default=yes]], + [case "${enableval}" in + yes) debug_enabled=yes;; + no) debug_enabled=no;; + *) AC_MSG_ERROR("Bad value for --enable-debug");; + esac], + [debug_enabled=no]) + dnl enable truespeech codec support AC_ARG_ENABLE(truespeech, [ --enable-truespeech Turn on TrueSpeech support (x86 only)], @@ -562,6 +580,9 @@ else if test x$ac_cv_c_bigendian = xyes ; then ORTP_CFLAGS="$ORTP_CFLAGS -DORTP_BIGENDIAN" fi + if test x$rtptimestamp = xtrue ; then + ORTP_CFLAGS="$ORTP_CFLAGS -DORTP_TIMESTAMP" + fi ORTP_DIR=oRTP changequote(<<, >>) ORTP_VERSION=`grep -E ^[AC]+_INIT ${top_srcdir}/oRTP/configure.ac | sed -e 's:^.*_INIT(.*,\[\(.*\)\]):\1:g'` diff --git a/mediastreamer2 b/mediastreamer2 index b2b50e9f..24133387 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit b2b50e9fd7c946f9bd49fc02f98579794a63a14b +Subproject commit 2413338721f9ac82249a47b333ccca53fb7d3359 diff --git a/oRTP b/oRTP index f7861fa0..9d8e0cc6 160000 --- a/oRTP +++ b/oRTP @@ -1 +1 @@ -Subproject commit f7861fa0e1204091e3bb9aa2f05643f819d1a2b1 +Subproject commit 9d8e0cc62b8da06d596f4ed2b62e2c98dad990b3