Is it not an option for you to just use Pipewire, or is that what you mean by a webcam? It’ll be somewhat of a refactor but should still be quite fast compared to screenshots even on X11.
Did you know there is no accessible documentation to do so with pipewire? The best I could find was an uncommented python source and a technical wiki that skips the basics. V4Lloopback is far simpler. And shorter.
Is it not an option for you to just use Pipewire, or is that what you mean by a webcam? It’ll be somewhat of a refactor but should still be quite fast compared to screenshots even on X11.
Did you know there is no accessible documentation to do so with pipewire? The best I could find was an uncommented python source and a technical wiki that skips the basics. V4Lloopback is far simpler. And shorter.
Pipewire “documentation” is absolutely atrocious