IceDBorn / pipewire-screenaudio

Extension to passthrough pipewire audio to WebRTC Screenshare
https://addons.mozilla.org/firefox/addon/pipewire-screenaudio/
GNU General Public License v3.0
167 stars 5 forks source link

Audio cannot be heard through discord when sharing screen audio #96

Open AitorLinux opened 6 months ago

AitorLinux commented 6 months ago

Audio cannot be heard through discord when sharing screen audio

I have followed all the steps written here, I have installed the extension, I have given it permissions, I have installed bash, I have the requirements installed...

But I am new to Linux and using Linux Mint 21.3 Cinnamon based on ubuntu and Firefox

I also wanted to know if I need to configure anything else besides installing this repository and how I should do it

Please help me T_T

IceDBorn commented 6 months ago

Have you tried sharing a specific node? All Desktop Audio is currently broken. It will be removed in 0.4.0, which is almost ready, but I haven't found the time to publish the release.

grimshins commented 6 months ago

@AitorLinux I experience this issue and my workaround is to use a patchbay such as Helvum to connect application audio to the pipewire-screenaudio sink. I'm not sure whether this is intended behavior, but it gets audio to my Discord streams. I'm on Ubuntu 24.04 using the Firefox snap.

IceDBorn commented 6 months ago

@grimshins I'm not sure if the install script is compatible with snaps. If it works like flatpak at least, where firefox has its profile folder located in the flatpak dir.

grimshins commented 6 months ago

@IceDBorn It appears as though the snap is aware of ~/.mozilla/ since otherwise the extension would throw the Native connector is misconfigured or missing error. The snap itself has its own directory at ~/snap/firefox/common/.mozilla/. I take it the audio injection is supposed to take place automatically?

jim3692 commented 6 months ago

Linux Mint 21.3 does not use Pipewire by default. This will change in Mint 22. For now, you can try this workaround.

IceDBorn commented 5 months ago

@grimshins Can you try the workaround and then close the issue if it fixes the extension for you?

grimshins commented 5 months ago

Think the above reply was meant for @AitorLinux

IceDBorn commented 5 months ago

You're right, wrong tag, I'm sorry. @AitorLinux

IceDBorn commented 2 months ago

@AitorLinux The latest mint uses pipewire iirc, can you confirm and close the issue?