CommunityToolkit / CommunityToolkit/Maui
[BUG] CameraView on Android not recognizing external cameras
- Dominant language
- C#
- Stars
- 2.7k
- Forks
- 500
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 7
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Did you read the "Reporting a bug" section on Contributing file?
- [x] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.