Mic button does nothing on Linux (WebKitGTK) — permission_request appears to be silently denied
Summary
On Linux (Tauri/WebKitGTK build), the mic button in Buzz does nothing when pressed: no OS permission dialog appears, and no microphone capture stream is ever opened. This happens even with a fully working audio stack, so it looks like the app itself is denying the permission request before it reaches the user.
Environment
- OS: Ubuntu 24.04.3 LTS (amd64)
- Buzz: AppImage build, app/webview version
1.13.4 - WebKitGTK:
libwebkit2gtk-4.1-02.52.6-0ubuntu0.24.04.1 - GStreamer: 1.24.2 (system)
- Audio server: PipeWire
What I ruled out
- Hardware: mic works fine in other apps (confirmed via PipeWire monitoring and other WebRTC apps)
- Audio server: PipeWire is reachable and functioning; default source is correctly set
- System permissions: no OS-level mic permission gate on this distro that would silently block it
- GStreamer WebRTC stack: found and fixed a real gap here —
gstreamer1.0-nice(ICE support, required bywebrtcbin) was not installed, only the rawlibnice10library was present, sowebrtcbinfailed to register as a GStreamer element. Installedgstreamer1.0-niceand confirmedgst-inspect-1.0 nice/gst-inspect-1.0 webrtcbinboth register cleanly after a registry rescan (rm -rf ~/.cache/gstreamer-1.0). This did not fix the mic button — worth fixing/documenting as a packaging dependency regardless, but it's a separate issue from the one below. - Stale/duplicate processes: confirmed only one
buzz-desktopinstance was running during testing - Mic input volume: separately found system mic input was at 39% (unrelated to Buzz) — raised to 85%, does not affect this bug
Root cause (as far as I could determine from the outside)
Live-monitored the buzz-desktop process's PipeWire client while pressing the mic button and speaking: zero microphone-capture streams are ever created — only the existing speaker/playback streams are visible. No permission_request-related dialog appears, and nothing shows up in journalctl for the mic action.
This points to the Rust/Tauri side intercepting WebKitGTK's permission_request signal for getUserMedia() (mic) and calling deny on it internally, before WebKit ever surfaces an OS-level permission prompt. From the outside there's no config file, env var, or system permission that changes this behavior — it appears to be hardcoded into the compiled binary's WebKitGTK permission-request handler.
Steps to reproduce
- Run Buzz on Linux via the AppImage (Ubuntu 24.04, WebKitGTK 2.52.6, PipeWire audio)
- Click the mic button
- Observe: no permission dialog, no error, no capture stream opens (verifiable via
pw-cli/wpctl/ PipeWire client inspection while the button is pressed)
Expected behavior
Pressing the mic button should trigger WebKitGTK's native permission-request flow (or an in-app equivalent) and, once granted, open a microphone capture stream.
Additional notes
Happy to provide more diagnostics (GST_DEBUG traces, WebKit process env, etc.) if useful — this was debugged entirely from the outside without access to Buzz's source, so I may have missed something app-side that would explain the deny.