From 2e667698024e85fe1a9ae44181af9e38141176eb Mon Sep 17 00:00:00 2001 From: defanor Date: Wed, 13 Oct 2021 22:03:49 +0300 Subject: Implement Jingle RTP sessions with ICE-UDP and DTLS-SRTP Works with Dino and Conversations, but currently relying on external players and streamers for actual audio playback and capture. For now requiring GnuTLS and libnice for calls; OpenSSL should be supported as an alternative to the former, and the latter should be made optional, maybe with libjuice as an alternative. --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3e4bdd0..f2052df 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,19 @@ PKG_CHECK_MODULES([LIBXML], [libxml-2.0]) AM_PATH_LIBGCRYPT +# libnice (+ glib) and libsrtp for media calls, optional + +AC_ARG_ENABLE([calls], AS_HELP_STRING([--disable-calls], + [build without Jingle media call support])) + +AS_IF([test "x$enable_calls" != "xno"], + [PKG_CHECK_MODULES([NICE], [nice], + [AC_DEFINE([HAVE_NICE], [1], [libnice is available])]) + PKG_CHECK_MODULES([GLIB], [glib-2.0], + [AC_DEFINE([HAVE_GLIB], [1], [glib is available])]) + PKG_CHECK_MODULES([SRTP], [libsrtp2], + [AC_DEFINE([HAVE_SRTP], [1], [libsrtp2 is available])]) + AC_DEFINE([ENABLE_CALLS], [1], [Jingle ICE-UDP DTLS-SRTP calls are enabled])]) # GSASL, optional -- cgit v1.2.3