mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-29 15:36:13 +00:00 
			
		
		
		
	Merge "pjproject_bundled: Disable srtp use by pjmedia"
This commit is contained in:
		
							
								
								
									
										8
									
								
								third-party/pjproject/patches/config_site.h
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								third-party/pjproject/patches/config_site.h
									
									
									
									
										vendored
									
									
								
							| @@ -4,6 +4,14 @@ | ||||
|  | ||||
| #include <sys/select.h> | ||||
|  | ||||
| /* | ||||
|  * Defining PJMEDIA_HAS_SRTP to 0 does NOT disable Asterisk's ability to use srtp. | ||||
|  * It only disables the pjmedia srtp transport which Asterisk doesn't use. | ||||
|  * The reason for the disable is that while Asterisk works fine with older libsrtp | ||||
|  * versions, newer versions of pjproject won't compile with them. | ||||
|  */ | ||||
| #define PJMEDIA_HAS_SRTP 0 | ||||
|  | ||||
| #define PJ_HAS_IPV6 1 | ||||
| #define NDEBUG 1 | ||||
| #define PJ_MAX_HOSTNAME (256) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user