@JayFoxRox I had a go at doing this natively without pyfakewebcam and it was surprisingly easy. This should be much faster and keeps a similar code style to the other platforms. I haven't implemented the device choice yet but I think it's good enough already as I found a way to check whether a device definitely is a v4l2 loopback device.
Unfortunately I cannot run tests in CI for Linux as the VMs that GitHub Actions uses are lacking the videodev kernel module. I tested it manually on my own VM and it seems to work fine.
@JayFoxRox I had a go at doing this natively without pyfakewebcam and it was surprisingly easy. This should be much faster and keeps a similar code style to the other platforms. I haven't implemented the device choice yet but I think it's good enough already as I found a way to check whether a device definitely is a v4l2 loopback device.
Unfortunately I cannot run tests in CI for Linux as the VMs that GitHub Actions uses are lacking the videodev kernel module. I tested it manually on my own VM and it seems to work fine.