3

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?

5
  • 1
    What exactly are you trying to do?
    – Dan Hulme
    Commented Mar 26, 2014 at 17:18
  • I'm trying to implement web-camera for Ubuntu from my Android device. Commented 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
    Commented 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. Commented Mar 27, 2014 at 20:18
  • @spiffymoo, looks like there is no source code. Commented Mar 30, 2014 at 4:42

1 Answer 1

3

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 .