Environment ready in /etc/profile
JDK_HOME=/opt/jdk1.8.0_45
JRE_HOME=/opt/jdk1.8.0_45/jre
ANDROID_NDK=/opt/android/ndk-r10d
JAVA_HOME=$JDK_HOME
CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib
PATH=$PATH:$ANDROID_NDK:$JDK_HOME/bin:$JRE_HOME/bin
export ANDRIOD_NDK PATH JAVA_HOME CLASSPATH
1. CSipSimple Download (ignored)
2. Dependency Download (ignored)
3. Compile
3.1 enter CSipSimple Directory
cd CSipSimple
3.2 Compile main body
make
=>libpj_opensl_dev.so libpjsipjni.so libstlport_shared.so into libs/armeabi and libs/armeabi-v7a
3.3 Compile CodecPackLibs
make CodecPackLibs
=> libpj_g7221_codec.so libpj_codec2_codec.so libpj_opus_codec.so libpj_g726_codec.so libpj_aac_codec.so into ../CSipSimpleCodecPack
3.4 Compile CodecG729
make CodecG729
=> libpj_g729_codec.so into ../CSipSimpleCodecG729
3.5 Compile VideoLibs (ffmpeg-lib)
make VideoLibs
=> libpj_video_android.so libpj_vpx.so into ../CSipSimpleVideoPlugin
3.6 Compile ScreenSharingLibs
make ScreenSharingLibs
=> libpj_screen_capture_android.so into ../CSipSimpleVideoPlugin