Closed efonsecab closed 2 years ago
Are you saying the application works on other machines aside from Windows Machine?
Are you saying the application works on other machines aside from Windows Machine?
Yes indeed, the application actually shows the webcam if running using the Android emulator, but not when using Windows Machine as the build target, on Windows Machine always returns null immediately.
Hi getting the same result on MediaPicker.Default.CapturePhotoAsync() on a windows machine. Works on android.
Capabilities set "webcam, microphone"
run into same error when running MAUI App and MAUI Blazor app with vs main build(32606.310.main)
Seems it is related to this issue and that it's not a MAUI issue, but instead a WinUI/platform issue https://github.com/dotnet/maui/issues/5849
Seems it is related to this issue and that it's not a MAUI issue, but instead a WinUI/platform issue #5849
https://github.com/microsoft/WindowsAppSDK/issues/1034 since July 2021
There are multiple duplicates for this and closing some of them including this one. I'd like to keep #7660 open as it has a workaround for now. Internally I am seeing if we can get the WinAppSDK team to prioritize that bug or if we should move forward for .NET MAUI to implement the workaround in the linked issue. Thanks everyone!
Duplicate of #7660
Description
When trying to capture video running the app as Windows Machine, the video capture method does not show the webcam, and immediately returns null.
Permissions are set like this
Steps to Reproduce
Version with bug
6.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net6.0-windows10.0.19041.0
Did you find any workaround?
No, haven't found a workaround.
Relevant log output
No response