Last active
December 1, 2021 23:21
-
-
Save agran/52ed833b0f30ca4531c4ceb8de234b0a to your computer and use it in GitHub Desktop.
build pjsip python with opus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sO http://downloads.xiph.org/releases/opus/opus-1.3.1.tar.gz | |
tar xzvf opus-1.3.1.tar.gz | |
cd opus-1.1.2 | |
./configure | |
make | |
make check | |
sudo make install | |
cd .. | |
wget -O pjproject-2.11.1.tar.gz https://github.com/pjsip/pjproject/archive/refs/tags/2.11.1.tar.gz | |
tar xzvf pjproject-2.11.1.tar.gz | |
cd /var/www/html/ring/pjproject-2.11.1 | |
make distclean | |
./configure --disable-g711-codec --disable-l16-codec --disable-gsm-codec --disable-ilbc-codec --enable-shared --with-opus=/usr/local | |
make dep | |
make | |
make install | |
cd pjsip-apps/src/python | |
sudo make | |
# python code example: https://gist.github.com/agran/a60e43a49846c2dd0ff8b2a058f0ff3a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment