-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
感觉FileDownloadListener的回调很慢啊 #246
Comments
FileDownloadListener的部分回调是和网络情况有关系的。I.
|
当然,对于回调的频率,FileDownloader还做了一些防止回调过于频繁导致UI线程被DDOS的情况: 也可以通过 特别值得一提的是,在网速较快,并且流媒体每次输入流取出的buffer都较小的情况下,虽然内部有做了一定的保护,但是建议上层通过 |
如果你是因为消息流没有及时回调,这个是由于消息流太多。你可以通过
解决根本问题:通过 |
嗯,试试吧。 |
@xanaduo 情况如何? |
还可以吧,觉得我写的还是不够好。在优化中 |
好的。 |
我先关闭了,该Issue还有任何疑惑,随时重新打开。 |
当网速不好的时候(下载多个任务时),按钮半天没有反应,没有修改状态。
The text was updated successfully, but these errors were encountered: