On 23 apr, 10:02, henrik <henrik.aron...@gmail.com> wrote: > My player stop after roughly 1-2 minutes, and there are no log > messages except for "I/AudioHardwareQSD( 52): AudioHardware pcm > playback is going to standby" just after the playback stops. > > This happens when I run it on the Nexus One over 3G. It does not > happen over Wifi, and it does not happen on my HTC Hero with android > 1.5 over 3G.
Here's another thing. When I'm on 3G on the Nexus One, I get a SocketException when it starts buffering. I guess I get a chunk of the song, then it fails. MediaPlayer also continuously call onBufferingUpdate(), which doesn't happen on Wifi. E/HttpServer( 1525): java.net.SocketException: The connection was reset E/HttpServer( 1525): at org.apache.harmony.luni.platform.OSNetworkSystem.receiveStreamImpl(Native Method) E/HttpServer( 1525): at org.apache.harmony.luni.platform.OSNetworkSystem.receiveStream(OSNetworkSystem.java: 478) E/HttpServer( 1525): at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java: 565) E/HttpServer( 1525): at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java: 87) E/HttpServer( 1525): at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java: 103) E/HttpServer( 1525): at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java: 134) E/HttpServer( 1525): at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java: 174) E/HttpServer( 1525): at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java: 159) E/HttpServer( 1525): at java.io.BufferedInputStream.read(BufferedInputStream.java:341) E/HttpServer( 1525): at org.apache.http.entity.InputStreamEntity.writeTo(InputStreamEntity.java: 92) E/HttpServer( 1525): at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java: 97) E/HttpServer( 1525): at org.apache.http.impl.AbstractHttpServerConnection.sendResponseEntity(AbstractHttpServerConnection.java: 182) E/HttpServer( 1525): at org.apache.http.protocol.HttpService.handleRequest(HttpService.java: 209) E/HttpServer( 1525): at my.player.http.HttpServer $WorkerThread.run(HttpServer.java:93) Best regards, Henrik -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en