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

播放网络歌曲中网络原因卡主有办法知道吗? #2

Open
tangmingscau opened this issue Jan 5, 2017 · 2 comments
Open

Comments

@tangmingscau
Copy link

您好,感谢您的无私奉献。我在使用您的库遇到这么一个问题。
在播放网络歌曲途中,由于网络原因音乐卡主,这时候程序是无感知的,给用户的体验不好。针对这一个问题,有没有办法解决?

@ViTess
Copy link
Owner

ViTess commented Jan 5, 2017

@tangmingscau
你好,最近工作比较忙,以及在写其他的代码,所以项目暂时放下了没有更新。
网络问题确实比较复杂,不知道你在使用的时候在卡住一段时间后有否接着播放?

BASS库的作者说假如断线了不会自动重连,另外他给的建议是监听download来判断,你可以试试设置OnDownloadedListener试试。

quote:

http://www.un4seen.com/forum/?topic=16855.msg117921;topicseen#msg117921
http://www.un4seen.com/forum/?topic=16949.msg118635;topicseen#msg118635

@ViTess ViTess added this to the feature milestone Jan 5, 2017
@tangmingscau
Copy link
Author

谢谢你的解惑
卡住大多数情况下缓存到足够的buffer会继续播放。我看了下你的建议,donnloadedListener接口是缓存的buffer接口,但是这个足不足狗提供给播放器正常播放,这个是无感知的。

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

No branches or pull requests

2 participants