bam/cam: update autosymlink to camera
This commit is contained in:
parent
9fd7b7379a
commit
0e538a2b9f
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
# the pseyecam in the diorama
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="video*",ATTRS{vendor}=="0x1415", ATTRS{device}=="0x2000", GROUP="video", SYMLINK+="diorama_cam"
|
||||
SUBSYSTEM=="video4linux", ATTRS{idVendor}=="1415", ATTRS{idProduct}=="2000", SYMLINK+="diorama_cam"
|
||||
'';
|
||||
services.mjpg-streamer = {
|
||||
enable = true;
|
||||
inputPlugin = "input_uvc.so -d /dev/diorama_cam -r 640x480 -y -f 30 -q 50 -n";
|
||||
outputPlugin = "output_http.so -w @www@ -n -p 18088";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue