Comments (4)
建议创建一个 Swift 类,封装 WLM3U 的接口给业务调用。需要注意的是,为了能让 OC 代码调用,新的接口要屏蔽掉 Swift 特有的类型或语法。
WLM3U --> Bridge(Swift) --> @objc API --> OC
from wlm3u.
遇到另一个问题。我调用 cancel 暂停任务后,再调用attach重新开始下载,控制台输入:[Attach Success] 30062020166,但是没有继续下载了,回调没有响应
from wlm3u.
这是返回的错误,请求超时:Task .<10> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x600003b06970 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask .<10>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDownloadTask .<10>"
from wlm3u.
把 URL 发一下
from wlm3u.
Related Issues (9)
- 请问是否支持下载某个时间段? HOT 1
- 换了可以播放的m3u8视频地址,都不能用,要做啥设置吗 HOT 2
- 点击下载,无法完成下载操作 HOT 1
- demo m3u8下载失败 [Attach Failure] 操作缓存失败,请检查本地缓存是否正确。 HOT 3
- The Progress and Completion don't match HOT 1
- M3u8
- 有类型下载不了 HOT 7
- 递归导致奔溃
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wlm3u.