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 '14 at 17:18
  • I'm trying to implement web-camera for Ubuntu from my Android device. – Anomalous Awe Mar 27 '14 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 '14 at 9:53
  • Command line instructions....rbelem.info/2012/08/31/… – spiffymoo Mar 27 '14 at 18:35
  • @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. – Anomalous Awe Mar 27 '14 at 20:18

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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.