compile ijkplayer with openssl

with openssl

1. Change config/module.sh with module-lite.sh

1
2
3
$ cd config
$ rm module.sh
$ ln -s module-lite.sh module.sh

2. init openssl

1
2
$ cd ..
$ ./init-android-openssl.sh

3. compile openssl

1
2
3
$ cd android/contrib
$ ./compile-openssl.sh clean
$ ./compile-openssl.sh all

4. init android

1
2
$ cd ../..
./init-android.sh

5. compile ffmpeg (x86_64 need yasm: $ brew install yasm)

1
2
3
$ cd android/contrib
$ ./compile-ffmpeg.sh clean
$ ./compile-ffmpeg.sh all

6. compile ijk

1
2
$ cd ..
$ ./compile-ijk.sh all

7. copy so files

1
2
3
4
cp ijkplayer/ijkplayer-armv5/src/main/libs  ijkplayer-java/src/main/jniLibs
cp ijkplayer/ijkplayer-armv7a/src/main/libs ijkplayer-java/src/main/jniLibs
cp ijkplayer/ijkplayer-arm64/src/main/libs ijkplayer-java/src/main/jniLibs
cp ijkplayer/ijkplayer-x86/src/main/libs ijkplayer-java/src/main/jniLibs