Skip to content

[BUG] CameraView on Android not recognizing external cameras #2272

Open
@jnnguyen12

Description

@jnnguyen12

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When plugging in external cameras via USB in Android device, cameraProvider.AvailableCameras did not include any external cameras. Not sure if this is by design or a bug.

External cameras used:

  • Intel Realsense D455 camera (correctly recognized in the Realsense Camera app)
  • Standard Logitech webcam

Android device used:

  • Samsung Galaxy S23 Ultra

Expected Behavior

cameraProvider.AvailableCameras on Android should return external cameras like on Windows.

Steps To Reproduce

  1. Make a new project
  2. Plug in an external camera
  3. Use CameraView and call cameraProvider.AvailableCameras

Link to public reproduction project repository

https://github.com/jnnguyen12/maui-cameraview

Environment

  • .NET MAUI CommunityToolkit: 6.1.0
  • OS: Android 13.0 - API 33
  • .NET MAUI: 8.0.82

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Camera 📸Issue/PR associated with the Camera packagebugSomething isn't workingunverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions