]> git.scottworley.com Git - srec/commitdiff
Two virtual cameras
authorScott Worley <scottworley@scottworley.com>
Mon, 6 Oct 2025 17:10:08 +0000 (10:10 -0700)
committerScott Worley <scottworley@scottworley.com>
Mon, 6 Oct 2025 17:10:08 +0000 (10:10 -0700)
Multiply-opening v4l2loopback cameras isn't working.  Let's try an
explicit tee.

modules/v4l2loopback.nix

index e4618c75b177029f450f491b6b7c58618b7c1fe9..1939724a958c15c5f0f6241587c86ab9b9d1e420 100644 (file)
@@ -6,6 +6,6 @@
     [ v4l2loopback.out ];
   boot.kernelModules = [ "v4l2loopback" ];
   boot.extraModprobeConfig = ''
-    options v4l2loopback video_nr=9 exclusive_caps=1 card_label="Shareable Camera"
+    options v4l2loopback video_nr=8,9 exclusive_caps=1,1 card_label="Live Camera,Recording Camera"
   '';
 }