1

Stream live video from camera on android

view story
linux-howto

http://stackoverflow.com – I am attempting to make an app that will stream a video from the camera of an android phone over the internet using the TCP or UDP protocol. I am currently able to transfer a byte array from the android phone to my computer which is running a server that I have written in C#. I have done streaming video before by sending .jpeg's over the network and showing them at 30 fps but this uses up too much bandwidth. First what would be the best way of capturing the images from the camera? I'm looking at... onPictureTaken(byte[] data, Camera camera) or onPreviewFrame (byte[] data, Camera camera) (HowTos)