play multiple video files simultaneously

All your problems with Audio, Video and Images.

play multiple video files simultaneously

Postby nilstk » Mon May 17, 2010 5:03 am


I would like to play up to four video streams with android/videoview (RTSP).
Playing one video is no problem, but if I try to play two videos (resized to fit screen) only one is played.
I tried it with threads ...

Is that not possible with the current VideoView class? Any suggestions?
Once Poster
Once Poster
Posts: 1
Joined: Mon May 17, 2010 4:59 am


Re: play multiple video files simultaneously

Postby JKumar » Wed May 19, 2010 8:48 am


I would suggest to use two independent object of MediaPlayer and use them for two independent surface views and handle their life cycles independently.
Hope the suggestion helps you
Keep posting .It makes us better to understand Android
User avatar
Experienced Developer
Experienced Developer
Posts: 52
Joined: Thu May 13, 2010 8:17 am
Location: INDIA


Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 4 guests