[android-developers] Re: Problems with audio playback on froyo
But the socket method still doesn't work. If I need to inject cookie with this method. Anyone can give some advice? On Jul 7, 11:17 pm, Rich miser...@gmail.com wrote: Okay! Sorry I got all uppity. Here's the solution:http://code.google.com/p/npr-android-app/source/diff?spec=svn77r=77;... Rich On Jul 7, 11:04 am, Rich miser...@gmail.com wrote: I'm bumping this because a fundamental component of the Android system is broken, there have been numerous reports and not a single person from the Android dev team have spoken about this after weeks. Please reply soon! There are hundreds of broken apps on the market. R On Jun 18, 4:45 pm, Rich miser...@gmail.com wrote: Same thing here - you're not the only one. The newMediaPlayeris absolute garbage, trying to decipher the error codes is like reading tea leaves (And they told us this was going to be fixed:http://www.mail-archive.com/android-developers@googlegroups.com/msg20... - they just made it worse!) Further discussion here: http://groups.google.com/group/android-developers/browse_thread/threa... http://groups.google.com/group/android-developers/browse_thread/threa... and http://forum.rhapsody.com/rhapsody/topics/app_force_closes_in_froyo_w... No proposed workarounds, not a peep from any Google employees. Very disappointing response so far. Fortunately 2.2 isn't deployed on any retail devices, but it sure sucks if you've only got a Nexus on 2.2 Let me know if you come up with some solution, Rich On Jun 2, 5:29 pm, RC casto.rob...@gmail.com wrote: I'm having a problem withMediaPlayerplaying a stream. It goes along fine and then I get the following. I/AwesomePlayer( 59): prefetcher is done preparing E/MediaPlayer( 6358): error (1, -2147483648) E/MediaPlayer( 6358): Error (1,-2147483648) W/TimedEventQueue( 59): Event 2 was not found in the queue, already cancelled? V/TuneWiki( 6358): Client closed connection! V/TuneWiki( 6358): java.net.SocketException: Connection reset by peer V/TuneWiki( 6358): at org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl(Native Method) This is only happening in the newFroYo(Android 2.2) release where the media player was changed. All streaming works up to Android 2.1, and with Android 2.2 we get squelches, pops, and other bad noise and then the connection terminates. I have looked at one possibility being the change from HTTP/1.0 to HTTP/1.1 requests. I'm not sure if Stagefright can be told to make HTTP/1.0 connections but it appears to work for a couple seconds and then everything falls apart and the media player quits. Anyone have thoughts about what has changed and what might be needed to work with the new media player properly? -- 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
[android-developers] Re: Problems with audio playback on froyo
I'm bumping this because a fundamental component of the Android system is broken, there have been numerous reports and not a single person from the Android dev team have spoken about this after weeks. Please reply soon! There are hundreds of broken apps on the market. R On Jun 18, 4:45 pm, Rich miser...@gmail.com wrote: Same thing here - you're not the only one. The newMediaPlayeris absolute garbage, trying to decipher the error codes is like reading tea leaves (And they told us this was going to be fixed:http://www.mail-archive.com/android-developers@googlegroups.com/msg20... - they just made it worse!) Further discussion here: http://groups.google.com/group/android-developers/browse_thread/threa... http://groups.google.com/group/android-developers/browse_thread/threa... and http://forum.rhapsody.com/rhapsody/topics/app_force_closes_in_froyo_w... No proposed workarounds, not a peep from any Google employees. Very disappointing response so far. Fortunately 2.2 isn't deployed on any retail devices, but it sure sucks if you've only got a Nexus on 2.2 Let me know if you come up with some solution, Rich On Jun 2, 5:29 pm, RC casto.rob...@gmail.com wrote: I'm having a problem withMediaPlayerplaying a stream. It goes along fine and then I get the following. I/AwesomePlayer( 59): prefetcher is done preparing E/MediaPlayer( 6358): error (1, -2147483648) E/MediaPlayer( 6358): Error (1,-2147483648) W/TimedEventQueue( 59): Event 2 was not found in the queue, already cancelled? V/TuneWiki( 6358): Client closed connection! V/TuneWiki( 6358): java.net.SocketException: Connection reset by peer V/TuneWiki( 6358): at org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl(Native Method) This is only happening in the newFroYo(Android 2.2) release where the media player was changed. All streaming works up to Android 2.1, and with Android 2.2 we get squelches, pops, and other bad noise and then the connection terminates. I have looked at one possibility being the change from HTTP/1.0 to HTTP/1.1 requests. I'm not sure if Stagefright can be told to make HTTP/1.0 connections but it appears to work for a couple seconds and then everything falls apart and the media player quits. Anyone have thoughts about what has changed and what might be needed to work with the new media player properly? -- 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
[android-developers] Re: Problems with audio playback on froyo
Okay! Sorry I got all uppity. Here's the solution: http://code.google.com/p/npr-android-app/source/diff?spec=svn77r=77format=sidepath=/trunk/Npr/src/org/npr/android/news/PlaybackService.java Rich On Jul 7, 11:04 am, Rich miser...@gmail.com wrote: I'm bumping this because a fundamental component of the Android system is broken, there have been numerous reports and not a single person from the Android dev team have spoken about this after weeks. Please reply soon! There are hundreds of broken apps on the market. R On Jun 18, 4:45 pm, Rich miser...@gmail.com wrote: Same thing here - you're not the only one. The newMediaPlayeris absolute garbage, trying to decipher the error codes is like reading tea leaves (And they told us this was going to be fixed:http://www.mail-archive.com/android-developers@googlegroups.com/msg20... - they just made it worse!) Further discussion here: http://groups.google.com/group/android-developers/browse_thread/threa... http://groups.google.com/group/android-developers/browse_thread/threa... and http://forum.rhapsody.com/rhapsody/topics/app_force_closes_in_froyo_w... No proposed workarounds, not a peep from any Google employees. Very disappointing response so far. Fortunately 2.2 isn't deployed on any retail devices, but it sure sucks if you've only got a Nexus on 2.2 Let me know if you come up with some solution, Rich On Jun 2, 5:29 pm, RC casto.rob...@gmail.com wrote: I'm having a problem withMediaPlayerplaying a stream. It goes along fine and then I get the following. I/AwesomePlayer( 59): prefetcher is done preparing E/MediaPlayer( 6358): error (1, -2147483648) E/MediaPlayer( 6358): Error (1,-2147483648) W/TimedEventQueue( 59): Event 2 was not found in the queue, already cancelled? V/TuneWiki( 6358): Client closed connection! V/TuneWiki( 6358): java.net.SocketException: Connection reset by peer V/TuneWiki( 6358): at org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl(Native Method) This is only happening in the newFroYo(Android 2.2) release where the media player was changed. All streaming works up to Android 2.1, and with Android 2.2 we get squelches, pops, and other bad noise and then the connection terminates. I have looked at one possibility being the change from HTTP/1.0 to HTTP/1.1 requests. I'm not sure if Stagefright can be told to make HTTP/1.0 connections but it appears to work for a couple seconds and then everything falls apart and the media player quits. Anyone have thoughts about what has changed and what might be needed to work with the new media player properly? -- 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
[android-developers] Re: Problems with audio playback on froyo
Same thing here - you're not the only one. The new MediaPlayer is absolute garbage, trying to decipher the error codes is like reading tea leaves (And they told us this was going to be fixed: http://www.mail-archive.com/android-developers@googlegroups.com/msg20549.html - they just made it worse!) Further discussion here: http://groups.google.com/group/android-developers/browse_thread/thread/cbb43110a138fa71/2b1ad409a262a711?lnk=gstq=froyo+mediaplayer#2b1ad409a262a711 http://groups.google.com/group/android-developers/browse_thread/thread/c946b5ac03557fbc/c98e09bed9080b6e?lnk=gstq=froyo+mediaplayer#c98e09bed9080b6e and http://forum.rhapsody.com/rhapsody/topics/app_force_closes_in_froyo_when_you_play_music No proposed workarounds, not a peep from any Google employees. Very disappointing response so far. Fortunately 2.2 isn't deployed on any retail devices, but it sure sucks if you've only got a Nexus on 2.2 Let me know if you come up with some solution, Rich On Jun 2, 5:29 pm, RC casto.rob...@gmail.com wrote: I'm having a problem withMediaPlayerplaying a stream. It goes along fine and then I get the following. I/AwesomePlayer( 59): prefetcher is done preparing E/MediaPlayer( 6358): error (1, -2147483648) E/MediaPlayer( 6358): Error (1,-2147483648) W/TimedEventQueue( 59): Event 2 was not found in the queue, already cancelled? V/TuneWiki( 6358): Client closed connection! V/TuneWiki( 6358): java.net.SocketException: Connection reset by peer V/TuneWiki( 6358): at org.apache.harmony.luni.platform.OSNetworkSystem.writeSocketImpl(Native Method) This is only happening in the newFroYo(Android 2.2) release where the media player was changed. All streaming works up to Android 2.1, and with Android 2.2 we get squelches, pops, and other bad noise and then the connection terminates. I have looked at one possibility being the change from HTTP/1.0 to HTTP/1.1 requests. I'm not sure if Stagefright can be told to make HTTP/1.0 connections but it appears to work for a couple seconds and then everything falls apart and the media player quits. Anyone have thoughts about what has changed and what might be needed to work with the new media player properly? -- 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