9

I found out that my Android phone's cam has a higher quality than the one of my PC and I'm wondering if there is a way to use my phone as a webcam for the computer. Is that possible?

USB (preferred), Bluetooth and LAN connections are all suitable as any other solution that doesn't require any expense (otherwise I would just buy a webcam), but I would prefer to use only open source software if possible.

8

You can use any android phone as a webcam for your Ubuntu PC by using droidcam.

  1. First download the droidcam app on your android device via the play store

  2. Next install adb on your Ubuntu PC

    sudo apt install adb

  3. Follow the instructions to install the droidcam linux client:

  4. On your android phone, enable USB debugging (you need to enable developer mode to do this).

  5. Find the drivers for your device. This page provides links to most manufacturers websites: http://developer.android.com/tools/extras/oem-usb.html#Drivers. You can also search Google “ADB Drivers for ___”

  6. Plug the device back into computer over USB. If you get a dialog asking “Allow USB Debugging”, you need to tap OK.

  7. Open DroidCam and select the USB option. On the phone you may get a dialog asking “Allow USB Debugging”, you need to tap OK. Sometimes you need to open “USB Options” from the notification area on the device and pick “PTP” mode for that to show up.

For more information on how to set up droidcam, click here


To use your android phone as a microphone, check out WO Mic.

To install the linux client see this.

You will also need to download the WO Mic app from the playstore.

Theoretically you can use both WO Mic and Droidcam in conjunction to turn your android device into a webcam with a microphone.

  • According to their site, this is video only, no mic. Is there a simply way to make the mic work as well ?? – mark May 20 '20 at 19:37
  • @mark See my edited answer – ldias May 20 '20 at 19:54
  • 1
    Yes, I did - even double-checked them to be sure. The v4l2loopback_dc module is not installed, as I said above. It is a 64 bit system & I did the step for that as well. Isn't the info I posted above about the FATAL error pointing to what I've just said as well ?? Thanks. – mark May 21 '20 at 16:45
  • 1
    It worked for me with a newer cellphone. For older phones (such as mine Samsung galaxy S3) which Droidcam is not compatible, there is also a solution with IPcamera, but I have not been able to make it work in Ubuntu 20.04. Here are the details: github.com/bluezio/ipwebcam-gst/issues/100 – Yannis Dran Nov 30 '20 at 19:57
  • 1
    @YannisDran For an alternative to Wo Mic, perhaps see if askubuntu.com/questions/889164/use-phone-as-microphone-in-linux or perhaps play.google.com/store/apps/… works – ldias Dec 1 '20 at 1:54
0

Apparently running OBS Studio (on your PC) can use a Smartphone (or other PC, as long as it has a current browser) as Microphone/Camera input. This requires obs studio with the "Browser Plugin", which is apparently not yet part of the linux packages. One then opens a site like https://obs.ninja/ or https://kevin.c3voc.de/ on the Smartphone, and copies the generated url as "Browser Source" into obs studio on the receiving device.

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.