2

I am receiving a weird error when trying to play a stream with mediaPlayer.. I can't think of anything I have changed to cause this error, it just started happening. Here is what the logcat says:

02-26 20:04:00.979: E/MediaPlayer(403): error (1, -1004)
02-26 20:04:01.219: E/MediaPlayer(403): Error (1,-1004)
02-26 20:04:01.219: E/MEDIAPLAYER ERRORS(403): what: 1  extra: -1004

I can't find any documentation on the error code

Nick Nelson
  • 1,131
  • 2
  • 18
  • 36

2 Answers2

1

You can find some documentation on the error codes here: https://github.com/android/platform_external_opencore/blob/master/pvmi/pvmf/include/pvmf_return_codes.h

Tad
  • 4,668
  • 34
  • 35
0

These are error codes from android.media.MediaPlayer. You can find the documentation here: https://developer.android.com/reference/android/media/MediaPlayer.OnErrorListener (the callback definition has the definitions linked). This won't help you with the specific cause of your error, but hopefully this will get you started.

prodaea
  • 1,720
  • 1
  • 14
  • 20