added support for mulitple feeds
This commit is contained in:
parent
57133bed53
commit
56d2144bcc
2 changed files with 85 additions and 27 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue