paolorotolo / droidcam

Use your Android phone as a wireless webcam or an IP Cam!
GNU General Public License v3.0
133 stars 41 forks source link

altered webcam resolution is non-permament #13

Open tomthecat opened 4 years ago

tomthecat commented 4 years ago

steps to reproduce

  1. Close any programs using the droidcam webcam. Unload the device driver: sudo rmmod v4l2loopback_dc

  2. Re-load it with new resolution: sudo insmod /lib/modules/uname -r/kernel/drivers/media/video/v4l2loopback-dc.ko width=1280 height=720

  3. Restart the droidcam client: Works with 720p resolution.

  4. Edit the text file /etc/modprobe.d/droidcam.conf with the new options to make the change stick: options v4l2loopback_dc width=1280 height=720

  5. reboot

actual behaviour

Despite the droidcam.conf entries, the resolution falls back to 640 x 480.

expected behaviour

The changes in resolution should be permanent.

version number DroidCamX 6.7.3 latest Linux client from https://www.dev47apps.com/files/linux/droidcam_latest.zip

operating systems Android 9 openSUSE Leap 15.1 w/ KDE and kernel 5.3.8 mobile: