My line of codes for creating and playing video file from HTTP live Streaming
// start of code here String path1 = http://cdn.c.ooyala.com/V4bmJ3MjpltRgNNJaYpy3ooqMUK9_HjM/DOcJ-FxaFrRg4gtGEwOmw3OjBrO2hSke String path2 = " http://rescueddoggies.com/videos/MP4/Alegria+Moreno-20100302-1_x264.mp4"; VideoView videoView = (VideoView) findViewById(R.id.VideoView); MediaController mediaController = new MediaController(this); mediaController.setAnchorView(videoView); //set the video link here Uri video = Uri.parse(path1); videoView.setMediaController(mediaController); videoView.requestFocus(); mediaController.setMediaPlayer(videoView); videoView.setVideoURI(video); videoView.start(); // end of code here Above code streams correctly for the path1 and plays the video on the VideoView with some delay due to buffering. But, If I change the path from path1 to path2, it throws/crashes with error "Cannot play video" & Sorry, this video is not valid for streaming to this device. (Note : both files are with .MP4 extension) Everywhere in the blog/group I read about the hinting the MP4 file with MP4Box. But I dint get it about how to go for it. (People who have worked with hinting please post the code) Someone please post the sample code for this example who have worked earlier in this example/demo. Thanks. -- 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

