dimtpap / obs-pipewire-audio-capture

🔊 Audio device and application capture for OBS Studio using PipeWire
https://obsproject.com/forum/resources/pipewire-audio-capture.1458/
GNU General Public License v2.0
298 stars 9 forks source link

Audio capture doesn't work with non-default sink #40

Open Slater91 opened 7 months ago

Slater91 commented 7 months ago

Hello! I have noticed that when a non-default sink is selected, or if the sink is changed after OBS is opened, audio isn't recorded at all (and I noticed the hard way: I recorded a whole interview with no audio...). This is reproducible 100% of the time and with any sink. Sometimes the issue is seen when changing the sink after OBS is started, sometimes even if it is changed before OBS is started, which makes understanding what's going on really difficult.

I am using PipeWire 1.0 with WirePlumber (no difference is seen when using pipewire-media-session) from the PipeWire PPA related to this project on KDE Neon (based on Ubuntu 22.04).

Here are the OBS logs: 2023-12-05 11-29-09.txt

Here is the output of pw-dump: pw-dump.json

Here is a screen recording that showcases the issue:

https://github.com/dimtpap/obs-pipewire-audio-capture/assets/11941225/6c56d3e2-0c5d-4e45-a1d6-b4b13e40d76a

Any idea what might be going on?

dimtpap commented 7 months ago

I can't reproduce this. Were the sources in the video set to "Default"?

Slater91 commented 7 months ago

Yes, they were set to "default". Nothing changes if I manually select the source.

dimtpap commented 7 months ago

Are you on the latest version? (There's no way to check, sorry, if you don't know just install the latest one)

Slater91 commented 5 months ago

Sorry for my late reply. I have just updated the plugin and on the latest version it still displays the same behaviour.