欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

ijkplayer打包支持https的so使用詳解

 更新時(shí)間:2022年11月11日 09:00:09   作者:wish_xy  
這篇文章主要為大家介紹了ijkplayer打包支持https的so使用詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪

Build android

git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-android
cd ijkplayer-android
git checkout -B latest k0.8.8

創(chuàng)建更小的jar

cd config
rm module.sh
ln -s module-lite.sh module.sh
cd android/contrib

checkout ffmpeg code

// 進(jìn)入工程根目錄

 cd ijkplayer 

// checkout ffmpeg 源碼,默認(rèn)從 https://github.com/Bilibili/FFmpeg.git checkout

./init-android.sh

checkout openssl code,增加 https 協(xié)議支持需要用到該庫(kù)。 // checkout openssl android源碼,默認(rèn)從 https://github.com/Bilibili/openssl.git checkout

./init-android-openssl.sh

編譯 openssl

// 首先 cd 到 ijkplayer/android/contrib 目錄下,Android下編譯腳本就放在該目錄下

cd android/contrib

// 編譯 openssl ./compile-openssl.sh clean ./compile-openssl.sh all

編譯 ffmpeg

./compile-ffmpeg.sh clean 
./compile-ffmpeg.sh all

編譯 ijkplayer native code

// 返回到 ijkplayer/android 目錄

cd .. 

// 編譯生成各CPU架構(gòu)的so,如果不加 all 默認(rèn)只生成 armv7a 架構(gòu)的 so// 編譯指定架構(gòu)的so:compile-ijk.sh armv7a,具體參考 .sh 文件中的 Usage

./compile-ijk.sh all

編譯完成后 so 就放在 ijkplayer/android/ijkplayer/ijkplayer-xxx/src/main/libs 目錄下。此時(shí)編譯好的 so 是支持 https 協(xié)議的。

獲取已經(jīng)編譯好的so,請(qǐng)點(diǎn)擊

以上就是ijkplayer打包支持https的so使用詳解的詳細(xì)內(nèi)容,更多關(guān)于ijkplayer打包支持https so的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!

相關(guān)文章

最新評(píng)論