mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
update ortp, use eXosip_trylock() whenever possible
This commit is contained in:
parent
dc0361975b
commit
4006baf289
4 changed files with 23 additions and 9 deletions
15
configure.ac
15
configure.ac
|
|
@ -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."
|
||||
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 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."
|
||||
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."
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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])],
|
||||
|
|
|
|||
2
oRTP
2
oRTP
|
|
@ -1 +1 @@
|
|||
Subproject commit cbd2750330bc86c96f56fa68d2ebc753105b4149
|
||||
Subproject commit 97acf505e76962fe8efa586335fd5c042c2b44fe
|
||||
Loading…
Add table
Reference in a new issue