Android MediaPlayer信息/警告(703,0)信息/警告(701,0)慢wifi或数据连接

时间:2018-03-25 06:13:55

标签: android android-mediaplayer radio

03-25 05:52:15.329 8029-8042/com.mgh.radio W/MediaPlayerNative: info/warning (703, 0)
03-25 05:52:15.329 8029-8042/com.mgh.radio W/MediaPlayerNative: info/warning (701, 0)
03-25 05:52:22.547 8029-8029/com.mgh.radio D/PlayRadioActivity: android.media.MediaPlayer@4ca9cf
03-25 05:52:22.549 8029-8029/com.mgh.radio D/PlayRadioActivity: android.media.MediaPlayer@4ca9cf

我从音频数据源ip流式传输广播。这是我的logcat,每当我的互联网连接缓慢无线电流停止时。 我见过Android MediaPlayer : info/warning (703, 0),info/warning (702, 0),info/warning (701, 0),ProtocolException when try to seek from a random position,但它是关于搜索栏的,但我对搜索栏没有任何问题

1 个答案:

答案 0 :(得分:3)

在我的情况下,当我的“WAKELOCK”开启时,当显示器熄灭时音乐停止了。我能够通过Android的高级Wi-Fi设置和禁用“Wi-Fi优化”选项解决问题,该选项声称“在Wi-Fi开启时最大限度地减少电池使用”。对于移动数据,如果关闭后台数据或打开数据保护程序,则会发生此操作。