how to record video in one device at that same time play that video live in another device

2.5k views Asked by At

I have to record video by using camera in one android device,at that same time i have to play that recording video live in another android device.what should i do for recording video and playing at same time in another device.

1

There are 1 answers

5
insomniac On

What you need to do is create a thread for recording a video and in the same time stream it to the next device using a TCP socket connection. you can have the full code for this in the spy-droid application ,go here https://code.google.com/p/spydroid-ipcamera/ in this spydroid application that have created this live video streaming server that can be accessed from any device or any computer by simply typing the ip and port number in the browser itself. after downloading the spydroid source code you can import the packages to your project and can use them in your project