本文介绍了AsyncPLayer暂停与"信息/ AwesomePlayer(已37):高速缓存已所剩无几"日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是AsyncPlayer流从URI音乐在Android模拟器4测试应用程序的时候,我得到了几个暂停和恢复所产生的序列:

I am using an AsyncPlayer to stream music from an URI and when testing the app on an android 4 emulator, I am getting an couple of pause and resume sequences generated by:

03-14 17:17:51.926: INFO/AwesomePlayer(37): cache is running low (1.96 secs) , pausing.
03-14 17:17:51.936: WARN/MediaPlayer(548): info/warning (703, 0)
03-14 17:17:51.936: INFO/MediaPlayer(548): Info (703,0)
03-14 17:17:51.946: WARN/MediaPlayer(548): info/warning (701, 0)
03-14 17:17:51.946: INFO/MediaPlayer(548): Info (701,0)
03-14 17:17:52.976: INFO/AwesomePlayer(37): cache has filled up (7.42 secs), resuming.

有没有人遇到这样的问题,我怎么能避免低缓存停顿?

Did anyone encounter this issue, how can I avoid low cache pauses?

感谢

推荐答案

这是一个网络问题,该问题来自于你的带宽。

It's a network issue, the issue come from your bandwidth.

枚举值: MEDIA_INFO_NETWORK_BANDWIDTH = 703

的src :在行107

这篇关于AsyncPLayer暂停与"信息/ AwesomePlayer(已37):高速缓存已所剩无几"日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 02:01