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

下载不能完全播放,付测试地址 #1

Open
chenfengfeng opened this issue Mar 11, 2020 · 6 comments
Open

下载不能完全播放,付测试地址 #1

chenfengfeng opened this issue Mar 11, 2020 · 6 comments

Comments

@chenfengfeng
Copy link

http://183.61.166.17:8213/storage/videos/ts/129/1080/tv_1080p.m3u8

下载后查看只有部分下载,还有几个没下载

@moxcomic
Copy link
Owner

moxcomic commented Mar 25, 2020

最近忙没有看到,这个地址无法访问目前测试不了

@chenfengfeng
Copy link
Author

抱歉,那个地址本身有问题,其他地址是可以用的,目前发现一个问题,如果我是队列下载,那么下载好一个m3u8后,再下载另一个,通知了两次,fileprivate func registerNotifications(),重复了,再下载一次就通知3次,我写了NotificationCenter.default.removeObserver(self)也没有效果,请问应该如何清除这个状态呢?感谢~

@chenfengfeng
Copy link
Author

下载完成
-- RECEIVE DOWNLOAD TS SUCCESS NOTIFICATION --
-- RECEIVE DOWNLOAD TS SUCCESS NOTIFICATION --
-- RECEIVE DOWNLOAD TS SUCCESS NOTIFICATION --
-- RECEIVE DOWNLOAD TS SUCCESS NOTIFICATION --
queque count:2
-- RECEIVE DOWNLOAD PROGRESS NOTIFICATION --
-- RECEIVE DOWNLOAD PROGRESS NOTIFICATION --
-- RECEIVE DOWNLOAD PROGRESS NOTIFICATION --
-- RECEIVE DOWNLOAD PROGRESS NOTIFICATION --
-- RECEIVE DOWNLOAD STATUS NOTIFICATION --
-- RECEIVE DOWNLOAD STATUS NOTIFICATION --
-- RECEIVE DOWNLOAD STATUS NOTIFICATION --
-- RECEIVE DOWNLOAD STATUS NOTIFICATION --

@moxcomic
Copy link
Owner

init方法里传入tag即可

@chenfengfeng
Copy link
Author

嗯嗯,谢谢~~我去试试看~~对了哦,那个初始化下载器的时候,会把UI卡住= =!

@moxcomic
Copy link
Owner

moxcomic commented Apr 1, 2020

不可能吧,我是没出现这种状况

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

2 participants