WebRTC (navigator.mediaDevices) is not available on MacCatalyst but works with iOS
datvm opened this issue · 1 comments
datvm commented
Description
I have a project that uses navigator.mediaDevices
for Camera and Microphone following the example at MackinnonBuck/MauiBlazorPermissionsExample. It works well on iOS (left) but on Mac with the same code and Info.plist
, navigator.mediaDevices
is undefined
(right):
Steps to Reproduce
- Clone https://github.com/MackinnonBuck/MauiBlazorPermissionsExample
- Run it on Mac
- Go to Camera section:
- Optionally: Open Safari Inspector and check for
navigator.mediaDevices
in the console, it'sundefined
.
Link to public reproduction project repository
https://github.com/MackinnonBuck/MauiBlazorPermissionsExample
Version with bug
8.0.6
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response