Hi, I'm trying to develop an app for live video streaming from a server on one phone to a client on another.
For this, on server, I capture videos of 10secs duration,send the file to client while i reset MediaRecorder to continue capturing and write to a different file and so on. I've figured out that once a MediaRecorder is stopped,it can't be started again without calling prepare() and i believe prepare takes a very long time which introduces a considerable delay between two captures. So I thought if I could prepare one MediaRecorder instance while another is capturing then I could start this instance as soon as the first one stops,which would reduce the delay. I also created 2 SurfaceView objects and gave each MediaRecorder a different holder of the two SurfaceViews.But when i tried this,the application just crashed and closed. Is there no way i can do this? Also,preparing two MediaPlayer instances simultaneously is not allowed? -- 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

