直播

一:ijkplayer

1.1 编译:
git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-ios
cd ijkplayer-ios
./init-ios.sh  # 下载ffmpeg源码
cd ios
./compile-ffmpeg.sh clean  # 删除一些文件和文件夹,为编译ffmpeg.sh做准备
./compile-ffmpeg.sh all # 编译ffmpeg库
1.2 打包FrameWork
打开工程IJKMediaPlayer.xcodeproj, 
然后 分别在 Debug/Release模式下 分别在 真机和模拟器环境中编译 FrameWork,
然后把DebugFrameWork 和 releaseFrameWork 合并成一个FrameWork

  1. 官方链接
  2. 参考链接

你可能感兴趣的:(直播)