libeXosip2 + libosip2 + ortp + mediastream2 + alsa-lib + pulseaudio
Posted dong1
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了libeXosip2 + libosip2 + ortp + mediastream2 + alsa-lib + pulseaudio相关的知识,希望对你有一定的参考价值。
1. Code package list
dong@ubuntu:~/package$ tree
.
├── alsa-lib-1.0.24.1.tar.bz2
├── bctoolbox-0.6.0.tar.gz
├── _install.sh
├── json-c_0.12.1.orig.tar.gz
├── libeXosip2-3.0.1.tar.gz
├── libogg-1.3.3.tar.gz
├── libosip2-3.0.1.tar.gz
├── libsndfile-1.0.25.tar.gz
├── libtool-2.4.2.tar.gz
├── mbedtls-mbedtls-2.16.3.tar.gz
├── mediastreamer-2.8.0.tar.gz
├── orc-orc-0.4.28.tar.gz
├── ortp-0.18.0.tar.gz
├── pulseaudio-1.0.tar.gz
└── speex-1.2rc1.tar.gz
0 directories, 15 files
2. Install script
_install.sh
platform= #platform=`CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf` install=`_x64` #install=`_arm` tar xvf libogg-* cd libogg-* ./configure ${platform} --prefix=/home/dong/${install} --enable-static make && make install cd .. tar xvf speex-* cd speex-* ./configure ${platform} --prefix=/home/dong/${install} --with-ogg=/home/dong/${install} --enable-fixed-point --disable-float-api --enable-static make && make install cd .. tar xvf libtool-* cd libtool-* ./configure ${platform} --prefix=/home/dong/${install} --enable-static make && make install cd .. tar xvf libsndfile-* cd libsndfile-* ./configure ${platform} --prefix=/home/dong/${install} --enable-static make && make install cd .. tar xvf json-* cd json-c-* ./autogen.sh ./configure ${platform} --prefix=/home/dong/${install} --enable-static #Comment out the following two lines in the config.h file #//#define malloc rpl_malloc #//#define realloc rpl_realloc make && make install cd .. cp /home/dong/${install}/lib/pkgconfig/json-c.pc /home/dong/${install}/lib/pkgconfig/json.pc tar xvf alsa-lib-* cd alsa-lib-* ./configure ${platform} --prefix=/home/dong/${install} --disable-python --enable-static make && make install cd .. tar xvf orc-orc-* cd orc-orc-* ./autogen.sh ./configure ${platform} --prefix=/home/dong/${install} --enable-static make && make install cd .. tar xvf pulseaudio-* cd pulseaudio-* ./configure ${platform} --prefix=/home/dong/${install} --disable-rpath --disable-nls --disable-dbus --disable-bluez --disable-samplerate --disable-solaris --disable-gconf --disable-avahi --disable-jack --disable-lorc --disable-glib2 --disable-gtk2 --disable-openssl --disable-ipv6 --disable-asyncns --disable-per-user-esound-socket --disable-oss-output --disable-oss-wrapper --disable-x11 --enable-neon-opt=no --with-database=simple PKG_CONFIG_PATH=/home/dong/${install}/lib/pkgconfig CPPFLAGS=-I/home/dong/${install}/include LDFLAGS=-L/home/dong/${install}/lib CFLAGS=-I/home/dong/${install}/include --disable-python --disable-v4l2 --enable-static make && make install cd .. tar xvf mediastreamer-* cd mediastreamer-* ./configure ${platform} --prefix=/home/dong/${install} PKG_CONFIG_PATH=/home/dong/${install}/lib/pkgconfig --disable-gsm --enable-video=no --enable-macsnd=no --enable-static --disable-sdl --disable-x11 --disable-ffmpeg --enable-static make && make install cd .. tar xvf ortp-* cd ortp-* ./configure ${platform} --prefix=/home/dong/${install} --enable-static make && make install cd .. tar xvf libosip2-* cd libosip2-* ./configure ${platform} --prefix=/home/dong/${install} --enable-static make && make install cd .. tar xvf libeXosip2-* cd libeXosip2-* ./configure ${platform} --prefix=/home/dong/${install} PKG_CONFIG_PATH=/home/dong/${install}/lib/pkgconfig --enable-static make && make install cd .. if false;then tar xvf mbedtls-* cd mbedtls-* cmake . -DUSE_SHARED_MBEDTLS_LIBRARY=On -DCMAKE_INSTALL_PREFIX=/home/dong/${install} make && make install cd .. tar xvf bctoolbox-* cd bctoolbox-* cmake . -DCMAKE_INSTALL_PREFIX=/home/dong/${install} -DENABLE_TESTS_COMPONENT=NO make && make install cd .. fi
以上是关于libeXosip2 + libosip2 + ortp + mediastream2 + alsa-lib + pulseaudio的主要内容,如果未能解决你的问题,请参考以下文章