dhanushka-94 / npr-android-app

Automatically exported from code.google.com/p/npr-android-app
0 stars 0 forks source link

-38,0 and 1,-11 errors #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
We don't yet have a Nexus One, so I wasn't able to reproduce.  I'll mark this 
as a low priority until we can replicate.

Original issue reported on code.google.com by perr...@gmail.com on 28 Jan 2010 at 10:14

GoogleCodeExporter commented 8 years ago
I have a N1 and would be happy to try to repo something for you, but I haven't 
seen 
those errors before.

Original comment by mark.mas...@gmail.com on 4 Mar 2010 at 12:50

GoogleCodeExporter commented 8 years ago
I saw this (-38, 0) while testing in the emulator the other day. It stuck around
until I restarted the AVD, and seemed to be a connectivity issue with the 
streaming.
It was a 2.1 image--I don't know if it also happens on older OS releases.

Original comment by sombradesoledad on 12 May 2010 at 5:16

GoogleCodeExporter commented 8 years ago
I see these frequently on my Droid.  (At least I did before the latest update.  
I cannot comment on after the update yet...)

Original comment by mike.poi...@gmail.com on 14 Jun 2010 at 12:53

GoogleCodeExporter commented 8 years ago
The (-38, 0) error looks to be a threading problem.  It's generated by the 
MediaPlayer when somebody asks the MediaPlayer to do something while it is in 
the wrong state.  To reproduce, tap on a stream rapidly multiple times and 
you'll almost certainly generate it and sometimes a crash.

Original comment by marshgos...@gmail.com on 17 Jun 2010 at 4:51

GoogleCodeExporter commented 8 years ago
If you leave the Nexus One on a station stream, seems to generate a 1,-11 error 
before 10 mins of audio playback time.

Original comment by nprme...@gmail.com on 18 Jun 2010 at 10:14

GoogleCodeExporter commented 8 years ago

Original comment by marshgos...@gmail.com on 19 Jun 2010 at 4:18

GoogleCodeExporter commented 8 years ago
Issue 14 has been merged into this issue.

Original comment by jpenn...@gmail.com on 21 Jun 2010 at 8:34

GoogleCodeExporter commented 8 years ago

Original comment by jpenn...@gmail.com on 21 Jun 2010 at 8:35

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I've encountered this trying to play a station stream on Android 2.1 (Samsung 
Vibrant).

Original comment by lid...@gmail.com on 23 Jul 2010 at 10:03

GoogleCodeExporter commented 8 years ago
Yes as someone previously mentioned... it sounds like a threading issue...but 
how to fix that.....still thinking.

Original comment by manny.ba...@gmail.com on 23 Jul 2010 at 2:41

GoogleCodeExporter commented 8 years ago
This is also occurring on my Samsung Captivate

Original comment by gferr...@gmail.com on 4 Aug 2010 at 2:01

GoogleCodeExporter commented 8 years ago
I get these two error messages almost every day when I use the App. Having a 
more meaningful error messages would really improve the app.

I use it on a 2.1 Samsung Captivate, in an area without 3G coverage (Edge 
only). It happens when walking the dog around my neighborhood at random.

But it always happens when moving from the outside area - with ATT providing 
the signal -- to my home, with a wireless router providing the data. The app 
seems to be dropping during the handoff from ATT to router.

Original comment by adamlpor...@gmail.com on 24 Aug 2010 at 5:06

GoogleCodeExporter commented 8 years ago
I'm going to build a test case to repro this issue. Might need Marsh's help to 
fix it.

Original comment by jeremy.w...@gmail.com on 1 Sep 2010 at 11:17

GoogleCodeExporter commented 8 years ago

Original comment by jeremy.w...@gmail.com on 1 Sep 2010 at 11:18

GoogleCodeExporter commented 8 years ago
For the record (1,-11) means that the PV player timed out.
http://www.netmite.com/android/mydroid/external/opencore/pvmi/pvmf/include/pvmf_
return_codes.h

Original comment by jeremy.w...@gmail.com on 8 Sep 2010 at 6:53

GoogleCodeExporter commented 8 years ago
This may be fixed as of r99. 

When a network connection change causes the media player to error out, the 
PlaybackService logs the error but lets the OnComplete call go through. 
Practically, this means that there is no longer a dialog message and that the 
player should automatically try to pull up the next track/story segment/etc. 
(if there is one).

From a user experience point of view, we may want to try to re-start the 
current track rather then skip to the next one.

Original comment by jeremy.w...@gmail.com on 8 Sep 2010 at 9:43

GoogleCodeExporter commented 8 years ago
Issue 39 has been merged into this issue.

Original comment by jpenn...@gmail.com on 23 Sep 2010 at 5:32

GoogleCodeExporter commented 8 years ago
I also have this problem with my Tmobile G1. It seems to be related to network 
connectivity. It comes up when I'm using the station streaming feature. It 
would be nice if the app would automatically restart and reload the most 
current selection; when this happens to me, I have to suffer through the rest 
of my motorcycle commute in silence..can't exactly restart the app on the 
freeway!

Original comment by alymanbuttler on 2 Oct 2010 at 2:37

GoogleCodeExporter commented 8 years ago
I have a droid two and I'm no longer able to listen to any streams I just 
continually get a "Received Error: 1, -1."  I have already tried to uninstall 
and reinstall the app to no avail

Original comment by ashale...@gmail.com on 30 Nov 2010 at 7:13

GoogleCodeExporter commented 8 years ago
I just tryed to play one of the "talks of the nation" and the application 
became unresponsive and force closed. 

Original comment by ashale...@gmail.com on 30 Nov 2010 at 7:15

GoogleCodeExporter commented 8 years ago
Issue 48 has been merged into this issue.

Original comment by jpenn...@gmail.com on 17 Dec 2010 at 8:24

GoogleCodeExporter commented 8 years ago

Original comment by jpenn...@gmail.com on 17 Dec 2010 at 8:25

GoogleCodeExporter commented 8 years ago
I saw this error on an Incredible on 12/22.  I was streaming KPCC and hit pause 
on the stream. The 38,11 error popped up and stream began playing again and i 
could not stop it. after a few minutes the message went away and i was able to 
stop the stream and quit the app. I saw this error also while streaming WAMU.

Original comment by kate.my...@gmail.com on 30 Dec 2010 at 4:54

GoogleCodeExporter commented 8 years ago
I've also.seen this error.  It usually happens when changing between wifi and 
cdma (I think).

When it does I can cancel the toast (using the back button) and the player 
usually advances to the next playlist item ok.  Can the toast with the error be 
shown without halting for user ack?  This would be a more "graceful" error so I 
only have to get my phone back out to hear that item; rather than hear anything.

Original comment by white...@gmail.com on 1 Jan 2011 at 5:38

GoogleCodeExporter commented 8 years ago
Get the same issue on my Droid 1 when streaming after about 5 minutes....every 
time.

Original comment by ALCohe...@gmail.com on 13 Jan 2011 at 11:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i have the same issue, it begin error(-38,0), and change to error (1,31) before 
ending of the stream, as the attached file.

Original comment by titan.l...@gmail.com on 20 Jan 2011 at 3:50

Attachments:

GoogleCodeExporter commented 8 years ago
I have the same issue (-38, 0) - Droid X.  The player will play if I wait, but 
the error message stays up until I press the back button.  

Original comment by michael....@gmail.com on 21 Jan 2011 at 3:01

GoogleCodeExporter commented 8 years ago
I have Droid 2 and I get errors 1, -1.  I'm totally unable to stream NPR news 
although I can stream other things like lastfm.  I tried to uninstall and 
reinstall the app, but it didn't make a difference.

Original comment by agnelli....@gmail.com on 11 Feb 2011 at 4:38

GoogleCodeExporter commented 8 years ago
I believe we no longer surface errors of this type, so I'm closing this thread.

Original comment by jpenn...@gmail.com on 19 May 2011 at 7:32

GoogleCodeExporter commented 8 years ago
Well, the app was updated maybe a month or two ago on Android 2.2, and I still 
am unable to stream for more than a few minutes.

Original comment by kevin.m....@gmail.com on 19 May 2011 at 7:35

GoogleCodeExporter commented 8 years ago
I no longer get these errors but I still can't stream consistently. I can 
stream Al Jazeera English video better than NPR audio.

Original comment by johnmstr...@gmail.com on 19 May 2011 at 7:37

GoogleCodeExporter commented 8 years ago
Cure Found! (may only apply to me). 
Moto Backflip, running 2.1 update 1
I was repeatedly getting both "received error: -38, 0" and "received error: 11, 
-1" after 10-20 minutes of streaming over wi-fi and I never stream over 3g. 
I fixed it a year ago but it returned after a hard reset and I forgot what I 
had done.

I figured it out.
I did two things. I deactivated my "wi-fi sleep policy" by pushing the menu 
button to get to the advanced page of my wi-fi settings.
I also extended the "turn off data connection when not in use" to one hour.

My guess is the NPR streaming app has difficulty switching between data 
connections in general. I'm pretty sure its the "wi-fi sleep policy".
Other users report experiencing the errors while using 3G or 4G. Perhaps the 
connection is switching between 4,3 or 2g, or perhaps they have the phone set 
to automatically switch to open wi-fi connections?

Original comment by Gimbu...@gmail.com on 16 Aug 2011 at 11:05

GoogleCodeExporter commented 8 years ago
Re: Myself

If you use 3g or 4G try deactivating the feature that switches to open wi-fi 
connections if available. You can use any cut to make a quick link to the 
setting toggle.

Original comment by Gimbu...@gmail.com on 16 Aug 2011 at 11:09

GoogleCodeExporter commented 8 years ago
Hmmm - very interesting! Can anyone else verify this as a fix for streaming
issues they may be having?

Also, any dev folks think of a possible solution for this issue if it can be
replicated widely?

Comment #34 on issue 2 by Gimbu...@gmail.com: -38,0 and 1,-11 errors

http://code.google.com/p/npr-android-app/issues/detail?id=2
Cure Found! (may only apply to me).
Moto Backflip, running 2.1 update 1
I was repeatedly getting both "received error: -38, 0" and "received error:
11, -1" after 10-20 minutes of streaming over wi-fi and I never stream over
3g.
I fixed it a year ago but it returned after a hard reset and I forgot what I
had done.

I figured it out.
I did two things. I deactivated my "wi-fi sleep policy" by pushing the menu
button to get to the advanced page of my wi-fi settings.
I also extended the "turn off data connection when not in use" to one hour.

My guess is the NPR streaming app has difficulty switching between data
connections in general. I'm pretty sure its the "wi-fi sleep policy".
Other users report experiencing the errors while using 3G or 4G. Perhaps the
connection is switching between 4,3 or 2g, or perhaps they have the phone
set to automatically switch to open wi-fi connections?

Original comment by jpenn...@gmail.com on 16 Aug 2011 at 11:12