Reputation: 1273
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
Upvotes: 2
Views: 5293
Reputation: 1770
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.
Upvotes: 0
Reputation: 4784
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
Upvotes: 1