ijkplayer 是一款作視頻直播的框架, 基於ffmpeg, 支持 Android 和 iOS,而且支持https,用途比較普遍android
`install homebrew, git, yasm ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install git brew install yasm`
cd config rm module.sh ln -s module-default.sh module.sh cd android/contrib # cd ios sh compile-ffmpeg.sh clean
使用git克隆項目到本地ios
git clone https://github.com/Bilibili/ijkplayer.git ijkplayer-ios cd ijkplayer-ios git checkout -B latest k0.6.3
git
初始化基礎包github
./init-ios.sh ./init-ios-openssl.sh ./init-config.sh
ruby
編譯基礎包框架
cd ios ./compile-ffmpeg.sh clean ./compile-openssl.sh clean ./compile-openssl.sh all ./compile-ffmpeg.sh all
curl