]> sjero.net Git - linphone/commitdiff
update ortp, use eXosip_trylock() whenever possible
authorSimon Morlat <simon.morlat@linphone.org>
Mon, 5 Mar 2012 14:06:56 +0000 (15:06 +0100)
committerSimon Morlat <simon.morlat@linphone.org>
Mon, 5 Mar 2012 14:06:56 +0000 (15:06 +0100)
configure.ac
coreapi/sal_eXosip2.c
m4/exosip.m4
oRTP

index c5db9df8b2b9bf2302eaf7acce6b4d7f3cd673bf..023236f8352d00825b2111d9bbc1fecc7fdd99ec 100644 (file)
@@ -430,6 +430,8 @@ if test "$build_wizard" != "false" ; then
        [
                if test "$build_wizard" = "true" ; then
                        AC_MSG_ERROR([Could not found libsoup, assistant cannot be compiled.])
+               else
+                       build_wizard=false
                fi
        ])
 fi
@@ -611,12 +613,15 @@ linphone.iss
 AC_OUTPUT
 
 echo "Linphone build configuration ended."
-
-if test x$gtk_ui = xtrue ; then
-       echo "* GTK interface will be compiled."
-fi
-if test x$console_ui = xtrue ; then
-       echo "* Console interface will be compiled."
+echo "Summary of build options:"
+printf "* Video support\t\t\t%s\n" $video
+printf "* GTK interface\t\t\t%s\n" $gtk_ui
+printf "* Account assistant\t\t%s\n" $build_wizard
+printf "* Console interface\t\t%s\n" $console_ui
+printf "* zRTP encryption (GPLv3)\t%s\n" $zrtp
+
+if test "$enable_tunnel" = "true" ; then
+       printf "* Tunnel support\t\ttrue\n"
 fi
 
 echo "Now type 'make' to compile, and then 'make install' as root to install it."
index c93ce5adccf9107eced39b511efac933794343b4..86c05c5e654d5c27d2974a8fe71d2432004a4623 100644 (file)
@@ -2003,9 +2003,18 @@ int sal_iterate(Sal *sal){
                if (process_event(sal,ev))
                        eXosip_event_free(ev);
        }
+#ifdef HAVE_EXOSIP_TRYLOCK
+       if (eXosip_trylock()==0){
+               eXosip_automatic_refresh();
+               eXosip_unlock();
+       }else{
+               ms_warning("eXosip_trylock busy.");
+       }
+#else
        eXosip_lock();
        eXosip_automatic_refresh();
        eXosip_unlock();
+#endif
        return 0;
 }
 
index 9be357f71a27e5b5e625803d5959b75e4120a212..51419d48aec19335c6386828d585400e3abf2b8b 100644 (file)
@@ -46,9 +46,9 @@ AC_CHECK_LIB([eXosip2],[eXosip_tls_verify_certificate],
        [AC_DEFINE([HAVE_EXOSIP_TLS_VERIFY_CERTIFICATE],[1],[Defined when eXosip_tls_verify_certificate is available])],
        [AC_MSG_WARN([Could not find eXosip_tls_verify_certificate in eXosip2 !])],
        [-losipparser2 -losip2 ])
-AC_CHECK_LIB([eXosip2],[eXosip_get_socket],
-       [AC_DEFINE([HAVE_EXOSIP_GET_SOCKET],[1],[Defined when eXosip_get_socket is available])],
-       [AC_MSG_WARN([Could not find eXosip_get_socket in eXosip2 !])],
+AC_CHECK_LIB([eXosip2],[eXosip_trylock],
+       [AC_DEFINE([HAVE_EXOSIP_TRYLOCK],[1],[Defined when eXosip_get_socket is available])],
+       [],
        [-losipparser2 -losip2 ])
 dnl AC_CHECK_LIB([eXosip2],[eXosip_get_naptr],
 dnl    [AC_DEFINE([HAVE_EXOSIP_NAPTR_SUPPORT],[1],[Defined when eXosip_get_naptr is available])],
diff --git a/oRTP b/oRTP
index cbd2750330bc86c96f56fa68d2ebc753105b4149..97acf505e76962fe8efa586335fd5c042c2b44fe 160000 (submodule)
--- a/oRTP
+++ b/oRTP
@@ -1 +1 @@
-Subproject commit cbd2750330bc86c96f56fa68d2ebc753105b4149
+Subproject commit 97acf505e76962fe8efa586335fd5c042c2b44fe