#microphone permission in Tauri2.0

1 messages · Page 1 of 1 (latest)

winter zodiac
#

@nocturne canyon
Newbie to Tauri2.0.

How to set the microphone permissions in the tauri2.0 app?
Attached find the tauri.conf.json and cargo.toml file I am using in the code.

Error: Microphone permission denied. Please allow microphone access

lament shore
#

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_.
somber cedar
#

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