Skip to content

Instantly share code, notes, and snippets.

Created September 5, 2016 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6550f144e14cc0efc43ebd932ec2347a to your computer and use it in GitHub Desktop.
Save anonymous/6550f144e14cc0efc43ebd932ec2347a to your computer and use it in GitHub Desktop.
if [ ! -e /usr/lib/libsrtp.so.1 ]
then
cd /tmp/
wget https://github.com/cisco/libsrtp/archive/v1.5.4.tar.gz
tar xfv v1.5.4.tar.gz
rm v1.5.4.tar.gz
cd libsrtp-1.5.4
./configure --prefix=/usr --enable-openssl
make shared_library && sudo make install
cd /tmp && rm -rf /tmp/libsrtp-1.5.4
else
echo "LibSRTP already installed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment