Skip to content

Instantly share code, notes, and snippets.

@multitel
Created August 17, 2016 18:10
Show Gist options
  • Save multitel/5abfc5d700404fb1ff73214064d08bb5 to your computer and use it in GitHub Desktop.
Save multitel/5abfc5d700404fb1ff73214064d08bb5 to your computer and use it in GitHub Desktop.
Asterisk 13 PJProject patch to disable codecs
---
third-party/pjproject/Makefile.rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/third-party/pjproject/Makefile.rules b/third-party/pjproject/Makefile.rules
index d2e7d25..1608efd 100644
--- a/third-party/pjproject/Makefile.rules
+++ b/third-party/pjproject/Makefile.rules
@@ -3,7 +3,8 @@ PJPROJECT_URL = http://www.pjsip.org/release/$(PJPROJECT_VERSION)
# Even though we're not installing pjproject, we're setting prefix to /opt/pjproject to be safe
PJPROJECT_CONFIG_OPTS = --prefix=/opt/pjproject --disable-speex-codec --disable-speex-aec \
--disable-gsm-codec --disable-video --disable-v4l2 --disable-sound --disable-opencore-amr \
- --disable-ilbc-codec --without-libyuv --disable-g7221-codec --disable-resample
+ --disable-ilbc-codec --without-libyuv --disable-g7221-codec --disable-resample \
+ --disable-opus
ifeq ($(shell uname -s),Linux)
PJPROJECT_CONFIG_OPTS += --enable-epoll
--
1.9.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment