list

Function list 

Source
pub fn list() -> Result<impl Iterator<Item = Result<Device>>>
Expand description

Returns an iterator over all connected V4L2 devices.

This will enumerate all devices in /dev that match one of the V4L2 device file patterns:

  • /dev/video*: webcams, capture cards, video output devices, codecs, video overlays, etc.
  • /dev/vbi*: devices for capturing and outputting raw Vertical Blanking Interval data.
  • /dev/radio*: AM and FM radio transmitters and receivers.
  • /dev/swradio*: Software-defined radios.
  • /dev/v4l-touch*: Touch screens and other touch devices.
  • /dev/v4l-subdev*: A sub-device exported as part of a bigger device.