Attempting to connect to built in camera

here is my code im not getting any errors its just not connecting to my camera
`fn handle_video_inputs(&mut self, cx: &mut Cx, devices: &VideoInputsEvent) {
for device in &devices.descs {
log!("Device Name: {}", device.name);
log!("Device Input ID: {:?}", device.input_id);
log!("Device Formats: {:?}", device.formats);
log!("----------------------");
}

    // Find and use the built-in camera if available
    let input = devices.find_highest_at_res(devices.find_device("Integrated Camera"), 1920, 1080, 31.0);
    cx.use_video_input(&input);
}`

What library are you using? It's impossible to tell just by this (very incomplete) code snippet.

You need to provide way more information if you ever reasonably expect to get useful help.

Sorry I created this one that has more info Running into issues with makepad

this one was just a test because no one was responding to me, im learning how to ask questions correctly so sorry in advance!

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.