Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm unable to use any audio input devices on linux despite them being available #272

Open
JasoonS opened this issue Aug 9, 2024 · 4 comments

Comments

@JasoonS
Copy link

JasoonS commented Aug 9, 2024

OS: popos 22.04 (an ubuntu flavour).
Whispering version: v4.8.0
Installed using .deb package.

When I start whispering and click record (or press shortcut) I get a message like this:
image

In the terminal I get the following:

❯ whispering

** (whispering:212598): WARNING **: 18:40:54.821: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
Audio capture was requested but no device was found amongst 2 devices
IntConstraint 7, min -1, max -1, exact -1, ideal 16000
BooleanConstraint 9, exact -1, ideal 1

No devices show in the dropdown menu either:
image

Side note: I was unable to run this using the AppImage. I get a white screen and the following in the terminal:

❯ ./whispering_4.8.0_amd64.AppImage
GStreamer element appsink not found. Please install it
GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:215396): GLib-GObject-WARNING **: 18:45:23.006: invalid (NULL) pointer instance

(WebKitWebProcess:215396): GLib-GObject-CRITICAL **: 18:45:23.006: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Thank you very much for your effort on this app, I'm eager to try it out and get it working 🫶

@JasoonS
Copy link
Author

JasoonS commented Aug 26, 2024

I tried to debug this by running the code locally and give Suitable permissions to the program. But I wasn't able to.

I tried two things.

Firstly I ran the script in both a normal browser and the inspect console of the app:

   navigator.mediaDevices.enumerateDevices().then(devices => {
     console.log(devices);
 }).catch(err => {
     console.error(err);
 });

I got no devices in whisperring, but multiple in firefox + chrome.

Secondly - I added my user to the 'audio' group. sudo usermod -aG audio $USER That didn't help either.

@Arche151
Copy link

Arche151 commented Oct 5, 2024

@braden-w I was finally able to get Whispering to launch on Ubuntu 22.04, by installing the .deb of version 5.1.1, but I have the same issue described here, unfortunately. Also, the window for Whispering's settings can't be moved around.

But seems at least like we're getting closer to a working Linux version :D

@noboomu
Copy link

noboomu commented Oct 14, 2024

I've made some progress on this. Seems to be an Ubuntu issue where the permissions for the gstreamer plugins are messed up. The autoaudiosink plugin should be standard and available to all users but it looks like it's exclusive to the root user for some reason. I'll let you know if I make any breakthroughs.

@filiptrplan
Copy link

I've made some progress on this. Seems to be an Ubuntu issue where the permissions for the gstreamer plugins are messed up. The autoaudiosink plugin should be standard and available to all users but it looks like it's exclusive to the root user for some reason. I'll let you know if I make any breakthroughs.

Did you figure anything out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants