openh264编译
https://github.com/cisco/openh264
修改Makefile中的PREFIX,指定安装位置
make OS=android NDKROOT=/home/lht/Android/android-ndk-r11c TARGET=android-22 install
make OS=android NDKROOT=/home/lht/Android/android-ndk-r13b TARGET=android-19 install
Building PJSIP
$ cd /path/to/your/pjsip/dir
$ export ANDROID_NDK_ROOT=/home/lht/Android/android-ndk-r13b
$ export NDK_TOOLCHAIN_VERSION=4.9
$ export TARGET_ABI=armeabi-v7a
$ export APP_PLATFORM=android-19
$ ./configure-android --use-ndk-cflags --with-openh264=/home/lht/project/openh264/output/android
$ make dep && make clean && make
按照官方文档操作出现找不到编译器的问题,加入 “$ export NDK_TOOLCHAIN_VERSION=4.9“ 参见: http://stackoverflow.com/questions/40381720/pjsip-2-5-5-build-error