Use OBS Studio

The easiest option for Linux users is to install OBS Studio along with the DroidCam OBS plugin. OBS Studio is a popular (open-source) video mixing program, and it includes built-in Virtual Camera support via the v4l2loopback module for Zoom/Discord/etc integration.
DroidCam integrates directly into OBS as a plugin.

Option A: Flatpak Install:
1. flatpak install flathub com.obsproject.Studio
2. flatpak install flathub com.obsproject.Studio.Plugin.DroidCam
3. flatpak override --user --device=all com.obsproject.Studio(override for v4l2loopback access, see below)

Option B: Manual Install:
1. Install OBS Studio for your distro.
2. Install the DroidCam plugin based on your local ffmpeg version.

Next, install and configure the V4L2loopback Module.

Launch OBS and you should find DroidCam as a source option and "Start Virtual Camera" option in the Controls dock.

Next steps:

DroidCam Linux Client   BETA

If you prefer not to install OBS Studio, use the DroidCam Client. The DroidCam Client is a simplified version of OBS and is more straightforward to use.

1 – Download and Install the new DroidCam Client.

Debian/Ubuntu  –  droidcam_client_amd64.deb (50MB)

wget -O /tmp/droidcam_client_amd64.deb https://droidcam.app/go/droidCam.client.setup.deb
sudo apt install -f /tmp/droidcam_client_amd64.deb

Fedora/RHEL  –  droidcam-client.x86_64.rpm (50MB)

wget -O /tmp/droidcam-client.x86_64.rpm https://droidcam.app/go/droidCam.client.setup.rpm
sudo dnf install /tmp/droidcam-client.x86_64.rpm
*If the client fails to launch, ensure you have the AppIndicator gnome shell extension installed, and enabled:
sudo dnf install gnome-shell-extension-appindicator gnome-extensions-app
Reboot, then use gnome-extensions-app to enable AppIndicator (tray icons).

Video

You will need the v4l2loopback module for video sharing with other apps. This allows you to create "virtual video devices", which applications will detect as ordinary video devices. [1] [2]

Debian / Ubuntu
sudo apt install linux-headers-$(uname -r) v4l2loopback-dkms

Fedora / RHEL
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install kernel-headers v4l2loopback

Audio [+]

The DroidCam Client can use the Linux ALSA Loopback soundcard for audio. However, there are many nuances with audio on different Linux systems. It is highly recommended you use a regular microphone and keep droidcam for video only.
Note: This does not work with OBS Studio, you will need the DroidCam Client installed from above.

To load the ALSA Loopback card, use
sudo modprobe snd_aloop

To use the mic in PulseAudio you can either run
pactl load-module module-alsa-source source_properties=device.description=DroidCam device=hw:Loopback,1,0 (you may need to adjust the last number; on some systems you need to do this after launching the droidcam client), or by editing /etc/pulse/default.pa as described here.

With Pipewire, open pavucontrol, Configuration tab. There are probably multiple devices called “Built-in Audio”, one of them is droidcam. Choose the profile Pro Audio, go to the Input Devices tab and check which meter reacts to the phone’s audio input (eg. Built-in Audio Pro 1), this is the desired audio input device. Inside pavucontrol you can now set this device as default input or choose it as the input device for individual apps etc.

Try adding the following extra parameters to the end of pactl command above if sound is still not detected
channels=2 rate=44100 format=s16le (adjust the values based on the Audio settings of the Client)

If the Loopback card takes over your line out, you can set the default PulseAudio sink as shown here.

2 – Launch the pc client and open the DroidCam app on your phone.

3 – In the computer client, click into the centre, or right-click and choose Add > DroidCam.

Make sure your phone is connected to the same network as your computer, and the DroidCam OBS app is open and ready.

The PC Client will search for and display available devices. Click [Refresh Device List] to try again. After 3 attempts, you will be presented with the option to add a device manually.

If WiFi auto-discovery is failing: ensure multicast is allowed on your network, try toggling WiFi Off/On, or restarting your system.

Tick "Enable Audio" box when adding a device to capture audio from the phone as well. Note that audio quality and latency may vary, and using Droidcam for video-only is recommended.

4 – Add your phone, and the DroidCam client will attempt to connect with the DroidCam app. Once active, you can then access the video feed in other programs via the v4l2loopback device (/dev/video).

The logs at ~/.config/droidcam-obs-client/logs can help identify issues and the audio/video devices being used.

If you need further help or have any feedback, please contact [email protected].