ijkplayer的添加

ijkPlayer github

git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-ioscd ijkplayer-ios

git checkout -B latest k0.8.1.2

./init-ios.sh

cd ios

./compile-ffmpeg.sh clean

./compile-ffmpeg.sh all

执行完全部脚本后 

//1.addIJKMediaPlayer.xcodeproj to your project

//2.select IJKMediaPlayer.xcodeproj -->IJKMediaFramework ----> command +B

//3.select your project target ---->linked frameworks and libraries ------>add IJKMediaFramework.framework

同时你也可以构建自己的私人库 

your private repo containing ijkplayer, FFmpeg4ijkplayer-ios-bin

使用cocoapod进行集成

你可能感兴趣的:(ijkplayer的添加)