I want to live stream video from android device. I found out that ffserver (ffmpeg) can be compiled and run on android. Now i need to get video from camera in android device and get it to the ffserver in real-time.
Any ideas?
Regards开发者_如何学Python, MM
I would look at android.hardware.Camera and android.media.MediaRecorder. You set the "camera" for the media recorder and it has a start/stop methods. It streams the output to a file when you start it, and closes the file when you stop.
This may be another good reference to look at.
精彩评论