亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

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

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

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

// 進入工程根目錄

 cd ijkplayer 

// checkout ffmpeg 源碼,默認從 https://github.com/Bilibili/FFmpeg.git checkout

./init-android.sh

checkout openssl code,增加 https 協(xié)議支持需要用到該庫。 // checkout openssl android源碼,默認從 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 默認只生成 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 目錄下。此時編譯好的 so 是支持 https 協(xié)議的。

獲取已經(jīng)編譯好的so,請點擊

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

相關(guān)文章

最新評論