You can do by calling Main url synchro manner and remaining by using 
asynchro manner , i have achieved this problem solution by using this 
approach.

On Wednesday, October 6, 2010 at 4:04:41 AM UTC+5:30, Dana L wrote:
>
> I'm trying to build a live streaming player by downloading video 
> segments (which are generated in real-time) and then playing them back 
> in sequence. While I can get the segments to play, I need to get it so 
> that there isn't a pause between playback of successive segments. I've 
> tried using both MediaPlayer (with an appropriate SurfaceView) and 
> VideoView, but there's always a small gap between segments. 
>
> If I try to load a new video into a MediaPlayer when the first segment 
> finishes playing, it seems to take half a second or so before the next 
> segment is loaded and starts playing. I have also tried having 
> multiple SurfaceViews within a single ContentView (with only the 
> active one being visible), but it seems like you can't prepare a video 
> until the associated SurfaceView is visible. I also tried having 
> multiple ContentViews that I switch between, but again, this has 
> similar issues. 
>
> Any ideas or suggestions? Is it possible to somehow get the next 
> segment to begin decoding as soon as the first one is decoded (which 
> could be before it finishes playing)? 
>
> Am I going to need to build a custom video player in order to do this?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ffe68596-9021-4e89-9a7b-4eee623c9da2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to