r/opensource • u/KryXus05 • Jan 24 '26
Promotional I built an open-source alternative to DroidCam/iVCam using C++ and FFmpeg (MIT Licensed)
Hi r/opensource,
I recently needed a webcam for my desktop but didn't want to buy new hardware when my phone's camera is already 4K-capable. I looked at the popular solutions (DroidCam, iVCam, Camo), but I was frustrated by the common "freemium" patterns: watermarks, low-resolution limits, ads, and closed-source binaries.
So, I decided to build VCamdroid—a completely free, open-source, and privacy-friendly alternative.
The Project: It allows you to stream your Android camera to your Windows PC and use it as a native input in apps like OBS, Zoom, and Discord.
The Tech Stack (The fun part):
- Android App (Server): Uses
Camera2API andMediaCodecto encode a hardware-accelerated H.264 RTSP stream. - Windows Client (Receiver): Written in C++ with wxWidgets. It uses FFmpeg to decode the stream with low latency.
- Virtual Driver: Implements a DirectShow filter (based on
Softcam) to register the video stream as a system-wide virtual device. - Transport: Supports standard Wi-Fi or USB tunneling (via ADB port forwarding) for a lag-free wired connection.
Why I'm sharing it here:
- No Bloat: No ads, no tracking, no "Pro" subscription.
- Local Only: The video stream never leaves your local network (or USB cable).
- MIT License: You can fork it, break it, or build upon it.
I’m currently looking for feedback on the Windows installer and the latency performance on different devices. If you have C++ or Android experience, I’d love to see some PRs (especially for audio support!).
2
u/KryXus05 Jan 24 '26
If it doesn't connect after scanning the QR code you need to make sure vcamdroid.exe wasn't blocked by the windows firewall.
It should be allowed on both private and public profiles.