#microphone permission in Tauri2.0
1 messages · Page 1 of 1 (latest)
what a random ping lol, leave poor lorenzo alone 😂
"plugins": {
"allowlist": {
"media": {
"all": true,
"microphone": true
}
}
}
``` was this an AI suggestion? Either way, that doesn't do _anything_.
There's no explicit permission api. On windows the webview will handle it automatically once you request access the microphone.
And on Linux it won't work at all because there's no full webrtc support in webkitgtk yet.
On macOS you'll have to create a Info.plist file in src-tauri like this https://github.com/tauri-apps/plugins-workspace/blob/v2/examples/api/src-tauri/Info.plist
Finally stumbled onto this thread after an hour of googling. Man, Tauri is capable of a lot, but the docs do not help me find what to do. Microphone and webcam support and quite common and deserve a clearer callout. I was stuck trying to find why navigator.mediaDevices came back as undefined in the browser
1million percent agree.