Skip to content

mistdon/SDIJKPlayerSSL

Repository files navigation

SDIJKPlayerSSL

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

SDIJKPlayerSSL is available through CocoaPods. To install it, simply add the following line to your Podfile:

source 'https://github.com/CocoaPods/Specs'
source 'https://github.com/momo13014/Specs'

pod 'SDIJKPlayerSSL'

构建过程

以下几步需要改动,其他步骤和编译IJKMediaFramework是一样的

1. ./init-ios-openssl.sh    //SSL必需, 如果是只播放http的话,可以忽略这一步

2. ./init-ios.sh

then cd ios

3.1. ./compile-openssl.sh clean

3.2. ./compile-ffmpeg.sh clean

4.1. ./compile-openssl.sh all

4.2. ./compile-ffmpeg.sh all

合并的教程: 带你封装IJKPlayer直播框架 其中,在合并的时候,关于合并的命令,cd 到Products路径下

lipo -create Release-iphoneos/IJKMediaFrameworkWithSSL.framework/IJKMediaFrameworkWithSSL Release-iphonesimulator/IJKMediaFrameworkWithSSL.framework/IJKMediaFrameworkWithSSL -output IJKMediaFrameworkWithSSL

生成后替换成需要的framwrok

Links

ijkplayer增加https协议支持

IJKPlayer爬坑记

常见问题

  1. iOS11 有声音无画面 现代码里面已经做了修复

测试链接

"https://media.w3.org/2010/05/sintel/trailer.mp4"

"http://mvvideo2.meitudata.com/5785a7e3e6a1b824.mp4?k=18455aa3fed468886b9df95eed493f0b&t=59e41659"

"http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8"

Author

momo13014, shendong13014@gmail.com

License

SDIJKPlayerSSL is available under the MIT license. See the LICENSE file for more info.

About

This is a wrapper of IJKMediaPlayerFramworkSSL

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published