Skip to main content

Use your stand-by Android or iPhone as Webcam and connect from Linux, Windows or Mac PC

Note: This content is available for read at my Reddit as well.

As the COVID lock-down continues and more people have adopted Work from Home option, the Webcams are running out of stock and the manufacturers are busy selling them at higher prices.

Here's a an easy alternative to use a stand-by Android or iPhone as Webcam using the Phone App and connect from Linux, Windows or Mac PC  using the client software.

I've been looking at DroidCam and iriun webcam as the options. The latter did well in Video resolution, auto-focus and picture quality. However, DroidCam overtook it with lots of desirable features though the video resolution is limited to 720p. You can set it to higher resolution in Linux client by editing /etc/modprobe.d/droidcam.conf.
Example: options v4l2loopback_dc width=1920 height=1080
Hence, DroidCam is the obvious winner.

The Pro version of both these come at around $5. The download links and installation documents are available at and respectively. Let's have a look at the Pros and Cons

DroidCam Pros
Editions: Free – DroidCam and Pro is DroidCamX
Connectivity: WiFi/USB
Connection Profile: Yes. Handy in case of multiple devices
Battery consumption: Relatively low (12% in 30 minutes) as compared to iriun 
CPU heating: Low
Switch Front/Rear camera: Yes
Mirror image: Available in pro version
Auto Focus: Available in Free version
Continuous AF: Available in Pro version
Zoom: Yes, from client
Run the App in background: Available
Auto-Dim Display: Available
FPS Limit feature: Yes
FPS Boost feature (experimental): Available in pro version
WB Control: Available in Free version
Reconnects: Easily
Supported clients: Linux, Windows
HTTP streaming: Yes with TLS and user authentication
LED Flash control: Available in Free version

DroidCam Cons
Video resolution: Limits to 720p in both Free and Pro versions
Mirror image: Not available in Free version
Continuous AF: Not available in Free version
Supported clients: Does not support Mac OS

Iriun Pros
Editions: iriun free (In app purchase for Pro)
Connectivity: WiFi/USB
Switch Front/Rear camera: Yes
Video resolution: 4K video
Mirror image: Image mirroring feature is available in Free version
Auto Focus: Available in Free version
Continuous AF: Available in Free version
Supported clients: Linux, Mac and Windows support
LED Flash control: Available in Free version

Iriun Cons
Connection Profile: No Connection/Device Profile available. The client automatically connects the available device
Battery consumption: Relatively high (18% in 30 minutes) as compared to DroidCam
CPU heating: High
Zoom: Not available
Run the App in background: Not available
Auto-Dim Display: Not available
FPS Limit feature: Not available
FPS Boost feature: Not sure if it’s built-in. Looks like
WB control: Not available
Reconnects: lost connection will require a Screen unlock or App refresh to re-establish
HTTP streaming: Not available


Popular posts from this blog

Check remote UDP connectivity from Linux

Hi there, You all know how to check TCP port connectivity from a Linux or UNIX machine to a remote machine using telnet as per th example below $ telnet 25 but we can't adopt TELNET to check UDP connectivity. Linux and most of the UNIXes come with a network layer utility called nc (abbreviation for netcat) which is very useful to check UDP connectivity and to explore a lot with both TCP and UDP. An example is shown below # nc -v -u -z -w 3 123 Connection to 123 port [udp/ntp] succeeded!

The best putty package available

Bored of Black screened Task bar filling putty? Issues with porting Saved sessions from machine to machine? Do you like tabbed SSH sessions? Start using portaputty instead of normal putty and link it with puttycm . Puttycm supports sessions to be saved in its own Database files. You can use the Putty sessions you have saved already right inside putty. You can have any number of databases which allow you to arrange Remote servers in folders and convenient namings. I personally recommend creating Database with puttycm rather than using the sessions saved in putty which doesn't offer any option to create folders and saving sessions under that directory tree. You can even save username/password to get it logged automatically and there is an option to pass commands to be run soon after login. I can't recommend this since some bug was found with these options. Portaputty is a variant of putty which stores all the Configuration data in text files instead of MS Window

#!/usr/bin/env bash ## Ping all machines in a Network PING="$(which ping) -c 1 -W 1" echo "Enter Subnet(eg:192.168.0)" read Subnet echo "Do you want to PING the entire network or a RANGE of IPs ? Enter your choice" echo 1. Ping Entire Network echo 2. Ping a RANGE read choice if [ $choice = 1 ]; then { echo Pinging..... for((i=1;i<255;i++)); do ${PING} ${Subnet}.${i} > /dev/null 2> /dev/null if [ $? -eq 0 ]; then echo -e "${Subnet}.${i} is up" fi done } fi if [ $choice = 2 ]; then { echo Enter the Starting IP of Range read a echo Enter the Last IP of Range read b echo Pinging..... for((i=$a;i<$b;i++)); do ${PING} ${Subnet}.${i} > /dev/null 2> /dev/null if [ $? -eq 0 ]; then echo -e "${Subnet}.${i} is up" fi done } fi exit 0