I got the MediaPlayer error code as (1,-110) on BeagleBoard Hardware running ICS.The code runs fine on android tablets with ICS but I get a dialog box as "Sorry,this video cannot be played" error on BeagleBoard only.Any suggestions.
-
May be `BeagleBoard` does not have the required codec.. – Mohsin Naeem Jul 17 '12 at 13:13
-
I have a playlist of video files.It plays fine the very first time and gives the error on playing second time or randomly sometimes.So I dnt think its a codec problem. – Raj Trivedi Jul 17 '12 at 13:29
2 Answers
This is a time out error from the MediaPlayer:
http://developer.android.com/reference/android/media/MediaPlayer.html#MEDIA_ERROR_TIMED_OUT
Also, it may happen with an issue with Samsung firmware on Android 4.1.2, I've seen it in Galaxy S2 mini and Galaxy S3. Take a look here: https://stackoverflow.com/a/18378273/3032209 You could solve it if you play the file it with another library, which will have the adequate codecs, like aacdecoder-android

- 1
- 1

- 10,686
- 1
- 38
- 46
I know my answer is too late to your question and I think you were able to fix this problem by now, but if not and for those people who are struggling with the Media Player Error (1, -110) (like I did the whole day today, Android HTC Desire X Jelly Bean 4.1.1), maybe this is the solution for you:
Just reboot your android (or close all the apps, which are using the Media Player).
In my case it was not a programming error, I just had to many apps open using the Media Player Instance, which led to that time out and I could not use it anymore.

- 217
- 3
- 10
-
It was resolved.We had to increase the timestamp of image buffering into the android source code. – Raj Trivedi May 05 '14 at 12:30