Hi, I am trying to stream mp4 file and play through programming.
I got the following error: E/PlayerDriver( 25): HandleErrorEvent: type=-11 E/PlayerDriver( 25): Content is truncated. E/MediaPlayer( 908): Error (-11,0) and played for 10 seconds, and nothing has happened. can any one please help to get rid of this? what i tried is: String path = "http://...." // some mp4 content on internet. mMediaPlayer = new MediaPlayer(); mMediaPlayer.setDataSource(path); mMediaPlayer.setDisplay(holder); mMediaPlayer.prepareAsync(); mMediaPlayer.setOnBufferingUpdateListener(this); mMediaPlayer.setOnPreparedListener(this); Thanks, Manoj. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

