-
-
Notifications
You must be signed in to change notification settings - Fork 369
Description
Current Status on macOS 14
getUserMedia()
: Show permission prompt for camera and microphone twice (application level and webview level)getDispayMedia()
: Normal
but with requestMediaCapturePermissionForOrigin
delegated in wry
getUserMedia()
: NormalgetDispayMedia()
: Permission denied due to not showing picker for a display device (SCContentSharingPicker
)
A possible fix for now is delegating both requestMediaCapturePermissionForOrigin
and requestDisplayCapturePermissionForOrigin
. But when we are calling getDispayMedia()
, it can choose a screen only.
Upstream tracking: https://bugs.webkit.org/show_bug.cgi?id=271688
Workaround PR: #1196
--- outdated ---
The media permission prompt was suppressed when macOS 14.0 introduced
Issue: #1101, tauri-apps/tauri#2600
PR: #1111
note: #1111 brings a regression issue: tauri-apps/tauri#9178
After an OS update, which could be 14.2 (not sure), the original issue was solved by Apple, so we revert the fix:
Issue: tauri-apps/tauri#8979
PR: #1186
We need to find the affected OS version (14.0 ~ 14.x.x) and apply the version check like #1111
TODO
- Do version check for macOS 14.0 (fix(mac): expose getDisplayMedia() permission decision handler #1196)
- Find the affected macOS version range