I am implementing a video player. The player is created from a stream (Manager.createplayer(InputStream is)).
When the player starts it plays for an undefined period (some videos a few seconds and some videos about a minute) I have already discovered that the time the player plays depends on the video (the same video always stops at the same time).
I printed the player events and it seems that the player crashes when the buffering_started event occurs.
When I try to pause the player when a buffering_started event occurs, i get an exception:
javax.microedition.media.MediaException: device error
Does anybody knows what's going wrong?