Android Question Stream record video+audio to my server?

JohnC

Expert
Licensed User
Longtime User
Any ideas on how to stream record video and audio from a device to a server I own (and not a social network)?

I know I could record a video file with sound and then simply FTP to my server, but that requires the video file to be completed/finished before the upload can be done.

But this would cause a problem if the device is damaged while it was recording video (as would happen if the device was in a hot air balloon that crashed to ground), NONE of the audio or video would get saved on the server because since the recording was stopped suddenly, the FTP process didn't even get a chance to start yet.

That's why I would like to "stream" the video/audio so it will be transferred to my server as it is recording. So if something unexpected happens, I would at least have the video and audio up to the crash saved on the server.
 

moster67

Expert
Licensed User
Longtime User
you can do it with the ffmpeg encoder for B4A
or you can use rtmp (you need to set up rtmp on your server). I have a wrapper for rtmp - send me a PM if you are interested
 
Upvote 0
Top