added support for mulitple feeds

This commit is contained in:
fwastring 2026-03-29 15:11:00 +02:00
parent 57133bed53
commit 56d2144bcc
2 changed files with 85 additions and 27 deletions

View file

@ -28,11 +28,20 @@ in
webcam-rtsp = {
enable = true;
# device = "/dev/v4l/by-id/usb-GENERAL_GENERAL_WEBCAM-video-index0";
device = "/dev/v4l/by-id/usb-Generic_HD_WebCam_200901010001-video-index0";
rtspUrl = "rtsp://192.168.1.143:8554/laptop";
framerate = 30;
videoSize = "1280x720";
streams = {
frontcam = {
device = "/dev/v4l/by-id/usb-Generic_HD_WebCam_200901010001-video-index0";
rtspUrl = "rtsp://192.168.1.143:8554/frontcam";
framerate = 15;
videoSize = "1280x720";
};
webcam = {
device = "/dev/v4l/by-id/usb-GENERAL_GENERAL_WEBCAM-video-index0";
rtspUrl = "rtsp://192.168.1.143:8554/webcam";
framerate = 15;
videoSize = "1280x720";
};
};
};
security.sudo.wheelNeedsPassword = false;