开发者

Video streaming from Android

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜