]> sjero.net Git - linphone/commitdiff
Add rtp timestamp configure option + debug option
authorYann Diorcet <yann.diorcet@belledonne-communications.com>
Tue, 15 May 2012 15:08:57 +0000 (17:08 +0200)
committerYann Diorcet <yann.diorcet@belledonne-communications.com>
Tue, 15 May 2012 15:08:57 +0000 (17:08 +0200)
Update oRTP & mediastreamer2

configure.ac
mediastreamer2
oRTP

index 2bead21ddc9b1de1b86cbd8ad03eab28ac4b5830..a56a93cbd3cfc964741b7f6bd196185b7cfb66c0 100644 (file)
@@ -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'`
index b2b50e9fd7c946f9bd49fc02f98579794a63a14b..2413338721f9ac82249a47b333ccca53fb7d3359 160000 (submodule)
@@ -1 +1 @@
-Subproject commit b2b50e9fd7c946f9bd49fc02f98579794a63a14b
+Subproject commit 2413338721f9ac82249a47b333ccca53fb7d3359
diff --git a/oRTP b/oRTP
index f7861fa0e1204091e3bb9aa2f05643f819d1a2b1..9d8e0cc62b8da06d596f4ed2b62e2c98dad990b3 160000 (submodule)
--- a/oRTP
+++ b/oRTP
@@ -1 +1 @@
-Subproject commit f7861fa0e1204091e3bb9aa2f05643f819d1a2b1
+Subproject commit 9d8e0cc62b8da06d596f4ed2b62e2c98dad990b3