pub async fn list_cameras() -> Vec<CameraView>Expand description
Async helper: list every camera the OS exposes.
Returns an empty Vec when running outside Tauri (e.g. plain
trunk serve browser preview), or when the OS has no cameras.
pub async fn list_cameras() -> Vec<CameraView>Async helper: list every camera the OS exposes.
Returns an empty Vec when running outside Tauri (e.g. plain
trunk serve browser preview), or when the OS has no cameras.