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

3.8下载暂停后,无法恢复 #579

Closed
heygays opened this issue Dec 25, 2019 · 14 comments
Closed

3.8下载暂停后,无法恢复 #579

heygays opened this issue Dec 25, 2019 · 14 comments

Comments

@heygays
Copy link

@heygays heygays commented Dec 25, 2019

版本

  • 3.8 && 3.8.1

  • MIUI10 && Android 9

错误日志

重现步骤

1.下载一个m3u8文件,开始后点击暂停
2.再调用resume(),无法继续下载,一直0.0kb/s
3.依然下载一个m3u8文件,开始后切后台划掉应用
4.回到应用再次resume(),下载进度(entity.getPeerIndex() * 100 / entity.getPeerNum())会清0,并且也一直是0.0kb/s

切回3.7.10后就正常了

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Dec 26, 2019

感谢反馈🙏

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Dec 26, 2019

能否提供下测试地址,我自己测试是正常的
progr

@deepdream88

This comment has been minimized.

Copy link

@deepdream88 deepdream88 commented Jan 8, 2020

能否提供下测试地址,我自己测试是正常的
progr

啊,我这边也是,我从3.6版本开始用到3.8,下载m3u8的视频,都是不能中断,我现在只能直接隐藏暂停按钮了。

@deepdream88

This comment has been minimized.

Copy link

@deepdream88 deepdream88 commented Jan 8, 2020

也许是服务器配置不同的原因。

@deepdream88

This comment has been minimized.

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Jan 9, 2020

我用你这地址测试是可以的,需要自行修改ts地址和码率地址。
sss
image

@androidwzl

This comment has been minimized.

Copy link

@androidwzl androidwzl commented Feb 13, 2020

版本3.85,,
机型:小米mix2, android9

### meu8下载暂停后,进度归0,恢复下载后从0开始。

demo中调用stop方法回触发@Download.onTaskStart回调,调用resume方法同样触发@Download.onTaskStart,并不会触发@Download.onTaskResume
测试地址:https://media6.smartstudy.com/ae/07/3997/2/dest.m3u8

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Feb 14, 2020

@androidwzl 见这 #597

@androidwzl

This comment has been minimized.

Copy link

@androidwzl androidwzl commented Feb 14, 2020

@androidwzl 见这 #597

我是能够下载的,ts地址拼的也对,不需要选择码率,直接运行demo也是同样的问题(暂停进度归0,恢复进度归0)

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Feb 14, 2020

了解,我看下是啥问题

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Feb 16, 2020

image
测试地址我没有访问权限,还有你这个m3u8是直播地址吗?如果是直播地址,每次停止都会从0开始

@androidwzl

This comment has been minimized.

Copy link

@androidwzl androidwzl commented Feb 16, 2020

image
测试地址我没有访问权限,还有你这个m3u8是直播地址吗?如果是直播地址,每次停止都会从0开始

并不是直播地址。该地址昨天还可以访问,可以试试这个地址https://135zyv5.xw0371.com/2018/10/29/X05c7CG3VB91gi1M/playlist.m3u8,
跟地址关系不大,demo中自己的地址也是可以的。
目前的问题是,视屏下载点击暂停,进度条回归0,点击恢复后,又重新下载。

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Feb 17, 2020

已找到原因,和这个一样的问题,#610

AriaLyy added a commit that referenced this issue Feb 17, 2020
@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Feb 18, 2020

@androidwzl

3.8.6 已修复了这个问题

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.