]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject: Clean up disabling of WebRTC support.
authorJoshua Colp <jcolp@digium.com>
Mon, 4 Dec 2017 00:49:14 +0000 (00:49 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 4 Dec 2017 00:52:42 +0000 (00:52 +0000)
The definition in config_site.h and the argument to the
configure script are not necessary to disable WebRTC
support. The correct argument, --disable-libwebrtc, is
already passed.

ASTERISK-26980

Change-Id: I27da2c894f87914956a72710222e17462d8a44bc

third-party/pjproject/Makefile.rules
third-party/pjproject/patches/config_site.h

index 56b2c49345519ddedf42982be8e644b42a868638..715a4b8cd9300c680e452467dcb5b9cfdd91792e 100644 (file)
@@ -37,8 +37,7 @@ PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --prefix=/opt/pjproject \
        --disable-ipp \
        --disable-libwebrtc \
        --without-external-pa \
-       --without-external-srtp \
-       --without-external-webrtc
+       --without-external-srtp
 
 ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),)
     PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
index 561b3a231f1ddfcc8892945e42379e95989518c7..8f989699fb0034bef27e37e45d1bde0d1849d70f 100644 (file)
  */
 #define PJMEDIA_HAS_SRTP 0
 
-/*
- * Defining PJMEDIA_HAS_WEBRTC_AEC to 0 does NOT disable Asterisk's ability to use
- * webrtc.  It only disables the pjmedia webrtc transport which Asterisk doesn't use.
- */
-#define PJMEDIA_HAS_WEBRTC_AEC 0
-
 #define PJ_HAS_IPV6 1
 #define NDEBUG 1
 #define PJ_MAX_HOSTNAME (256)