What is the best way to traverse web camera?

E.g. there is great number of web servers for android with video translations. How to get access to its via adb?

Or wi-fi would be a easiest way?

  • 1
    What exactly are you trying to do?
    – Dan Hulme
    Mar 26, 2014 at 17:18
  • I'm trying to implement web-camera for Ubuntu from my Android device. Mar 27, 2014 at 5:13
  • It's not possible to use adb for this, but I'm sure you can find an app for your phone to do this.
    – Dan Hulme
    Mar 27, 2014 at 9:53
  • @spiffymoo, 1-2 days, I will try it. Could you please put a little answer, I will fill it with complete cites of how-to do web-cam from android device, and will accept your answer. Thank you very much. Mar 27, 2014 at 20:18
  • @spiffymoo, looks like there is no source code. Mar 30, 2014 at 4:42

1 Answer 1


Connect the smartphone via USB, start the IP camera server app and use adb port forwarding or usb tethering to access the server from PC.

Then you can connect directly to the mjpeg video stream at http://yourphoneip:8080/video.

This script also creates a v4l virtual device if you need it.

I've measured that the streaming latency is a bit higher than a regular USB camera (<500ms vs <100ms).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .