-
Notifications
You must be signed in to change notification settings - Fork 34
Audio share doesn't work properly #28
Comments
A workaround: Open Pavucontrol > Recording > Change input device of bottom Chromium input process to "discord-screenaudio-virtmic". |
Hm this is not the first time I heard of this issue, but I never had it myself. Can you share steps to reproduce this in a VM? |
Maybe relevant issue: edisionnano/Screenshare-with-audio-on-Discord-with-Linux#21 Are you both using Wireplumber? |
I am having the same issue on X11 using Wireplumber, but either way, pipewire-media-session has been superseded by Wireplumber, and pipewire-media-session hasn't been updated in almost three months. I am not sure how this application works, but from what I see, the application you are screen sharing feeds into virt-mic, but the audio from it doesn't get fed into anything. My temporary solution is to unpipe the application I am trying to screen share from the virt-mic and instead pipe it directly into the chromium input for the stream (I also unpipe the stream from my microphone, so people don't hear me twice) |
@maltejur After some testing I have concluded that a similar issue (one of the Chromium input RecordStreams being set to "Usb Audio Device Mono" and another being set to "discord-screenaudio-virtmic") happens with media-session too, hovewer switching back and forth between "Usb Audio Device Mono" and "discord-screenaudio-virtmic" in the input settings in Discord fixes it, setting both Chromium input RecordStreams to "discord-screenaudio-virtmic", while with Wireplumber they just seem to switch order for some reason. |
Hm ok after checking I am also using wireplumber and everything works fine for me. Can one of you send me an exact setup where I can reproduce the issue? |
I have a similar issue, but only with Wine/DXVK games. I believe this is due to XWayland, as I do not experience it in native running games that I've tested as well as streaming browser videos. I'm going to try wine-wayland and see if I encounter similar issues, and I'll report back. For reference, I'm using Garuda Linux with GNOME Wayland and PipeWire. |
@maltejur When you open Pavucontrol right after starting the stream are both Chromium inputs in the Recording tab set to "discord-screenaudio-virtmic"? |
Okay the same thing now also happens to me, but only some times. Well at least I can play arround with it now and see if I can find any fix
Now yes |
Okay I have found a potential fix, just waiting at one point for all audio devices to come available. It fixed the issue for me, but it also worked flawlessly for me before so not sure if this really is the solution. Could one of the people who had this issue consistently test the changes I pushed to master? |
@maltejur I have built and tested master, sadly the top input right after starting a stream is set to "Usb Audio Device Mono": Luckily now changing the input device in Discord to "Usb Audio Device Mono" and then back to "discord-screenaudio-virtmic" fixes this issue: |
Isnt that how you would want it to be? The top one is the microphone and the bottom one is the stream (at least I think this is the case here) |
It seems to work! Just tested it. Thanks. |
Since you only have discord-screenaudio-virtmic it would probably be a better idea to poll enumerateDevices until said device shows up |
good idea, I did that now |
Really? I had no idea this project allowed proper audio share not through the microphone, will certainly need to do some more testing |
Can confirm that the recent commits fixed the no sound issue on my stream. |
Great to hear, I'll close this then |
Whenever I try to share audio, the audio actually shared is my mic. No matter what I choose. So the other person in call hears me twice.
I tried changing the audio input in discord settings to vmic and it shares the audio of the application but it won't get my mic anymore.
I tried both the AUR and Flatpak versions. Same issue
The text was updated successfully, but these errors were encountered: