Skip to main content

list_cameras

Function list_cameras 

Source
pub fn list_cameras() -> Vec<CameraDevice>
Expand description

Enumerate every camera the OS exposes via gst-device-monitor-1.0.

Returns an empty Vec (not an error) if the host has no cameras or the binary isn’t on PATH — matches the M-CAM.0 probe convention. Integration tests should runtime-skip when the returned slice is empty.