mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	pjproject: Clean up disabling of WebRTC support.
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
This commit is contained in:
		
							
								
								
									
										3
									
								
								third-party/pjproject/Makefile.rules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								third-party/pjproject/Makefile.rules
									
									
									
									
										vendored
									
									
								
							| @@ -37,8 +37,7 @@ PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --prefix=/opt/pjproject \ | |||||||
| 	--disable-ipp \ | 	--disable-ipp \ | ||||||
| 	--disable-libwebrtc \ | 	--disable-libwebrtc \ | ||||||
| 	--without-external-pa \ | 	--without-external-pa \ | ||||||
| 	--without-external-srtp \ | 	--without-external-srtp | ||||||
| 	--without-external-webrtc |  | ||||||
|  |  | ||||||
| ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),) | ifeq ($(findstring TEST_FRAMEWORK,$(MENUSELECT_CFLAGS)),) | ||||||
|     PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec |     PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								third-party/pjproject/patches/config_site.h
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								third-party/pjproject/patches/config_site.h
									
									
									
									
										vendored
									
									
								
							| @@ -20,12 +20,6 @@ | |||||||
|  */ |  */ | ||||||
| #define PJMEDIA_HAS_SRTP 0 | #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 PJ_HAS_IPV6 1 | ||||||
| #if !defined(AST_DEVMODE) && !defined(PJPROJECT_BUNDLED_ASSERTIONS) | #if !defined(AST_DEVMODE) && !defined(PJPROJECT_BUNDLED_ASSERTIONS) | ||||||
| #define NDEBUG 1 | #define NDEBUG 1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user