Open mittalharsh54 opened 8 years ago
https is disabled by default. You need to build FFmpeg with OpenSSL.
sh init-android-openssl.sh
cd android/contrib
sh compile-openssl.sh
Then compile FFmpeg & ijjkplayer
can you please elaborate how to do fix it i dont know how to do what you suggested
@ctiao I followed compile ijkplayer with openssl which is a great tutorial.
Big thanks to the issue in a related repo.
Just in case that link goes down, I'm quoting it here:
Change config/module.sh with module-lite.sh
cd config rm module.sh ln -s module-lite.sh module.sh
init openssl
cd .. ./init-android-openssl.sh
compile openssl
cd android/contrib ./compile-openssl.sh clean ./compile-openssl.sh all
init android
cd ../.. ./init-android.sh
compile ffmpeg (x86_64 need yasm:
$ brew install yasm
)cd android/contrib ./compile-ffmpeg.sh clean ./compile-ffmpeg.sh all
compile ijk
cd .. ./compile-ijk.sh all
copy so files
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
Note: I've removed $
in the terminal commands so that it makes copy/paste easier.
Error in playing videoes tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)
I am trying to play this https://firebasestorage.googleapis.com/v0/b/boiling-fire-5986.appspot.com/o/01082016111327iOS.mp4?alt=media&token=dc60aae2-2231-490f-bb88-09c492ebb053 but it is giving error.