install droidcam
1 | yay -S droidcam |
install linux-header
1 | sudo pacman -S linux-header |
usage
1.wifi
android install droidcam and launch
chromium enter http://192.168.25.x:4747
2.usb
Android mobile phone and linu computers connected by cable
android debug mode1
adb devices
remember devices name1
sudo modprobe v4l2loopback_dc
open droidcam on android1
env ANDROID_SERIAL=bd4a6a1a droidcam-cli adb 4747
while open obs, mobile phones camera can be detected and used