Skip to content

用于下载缓存m3u8文件的首段 ts 来达到抖音播放流畅度

License

Notifications You must be signed in to change notification settings

1241545546/M3u8DownLoadManger-Swift

Repository files navigation

M3u8DownLoadManger

CI Status Version License Platform

Example

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

1.启动服务器 M3u8Cache.startListenService() 2. 预下载 M3u8DownLoad.manger.downLoadProTs(url: "http://vcache.city84.com/video/c110477/audio/6a9b7675f34e4c0d86acaae70c1befba.m3u8") 3.映射后的播放地址 丢给播放器播放 let lurl = M3u8Cache.proxyLocal(url: "http://vcache.city84.com/video/c110477/audio/6a9b7675f34e4c0d86acaae70c1befba.m3u8") 播放器播放 play(lurl)

Requirements

Installation

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

pod 'M3u8DownLoadManger'

Author

wusa, '[email protected]'

License

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

About

用于下载缓存m3u8文件的首段 ts 来达到抖音播放流畅度

Resources

License

Stars

Watchers

Forks

Packages

No packages published