Problem with webcam connected to raspberry pi 4
Hi I have webcam logitech c270 connected to raspberry pi 4 camera is added from camera menu in mainsail but the camera window is black
webcamd from the web interface?[cam 1]
mode: mjpg # mjpg/rtsp
port: 8080 # Port
device: /dev/video2 # See Log for available ...
resolution: 640x480 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, ohterwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
[cam 2]
mode: mjpg # mjpg/rtsp
port: 8081 # Port
device: /dev/video0 # See Log for available ...
resolution: 640x480 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, ohterwise ignored/coerced.

[cam 1]
mode: mjpg # mjpg/rtsp
port: 8080 # Port
device: /dev/video2 # See Log for available ...
resolution: 640x480 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, ohterwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
[cam 2]
mode: mjpg # mjpg/rtsp
port: 8081 # Port
device: /dev/video0 # See Log for available ...
resolution: 640x480 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, ohterwise ignored/coerced.