Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不会建立本地缓存文件,每次从网络取问题 #8

Open
Jianghaibo7815 opened this issue Jul 19, 2016 · 2 comments
Open

不会建立本地缓存文件,每次从网络取问题 #8

Jianghaibo7815 opened this issue Jul 19, 2016 · 2 comments

Comments

@Jianghaibo7815
Copy link

如果一个视频断点多次下载, HcdVideoRequestTask类里响应网络完成函数进行处理,taskArr一直大于1, 不会建立本地缓存文件。
导致每次都从网络取数据。
你看是不是在HcdVideoRequestTask 的 connectionDidFinishLoading 里加上
[self.taskArr removeObject:connection];

@Jvaeyhcd
Copy link
Owner

在线文件如果比较大,好像会存在无法缓存成功的情况,具体什么原因,我还在找

@picv888
Copy link

picv888 commented Sep 12, 2016

测试视频连接 http://od2lxyspj.bkt.clouddn.com/3.mp4

只有几百Kb 但是taskArr有时候也会大于1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants