Hi there!
I recently switched to Pipewire for better audio stream control, and I’m using qpwgraph to connect the dots (works great!).
I like recording my gameplay, but each time OBS starts, I see that Pipewire connects the currently playing audio controller (either my HDMI output, or my Bluetooth headphones) to OBS via what it calls a monitor.
I’d like to stop that connection from happening, since then it would record the music I’ve got playing. Each time I switch between speakers/headphones, I also need to re-disconnect the monitors from OBS (in qpwgraph).
Having found pw-cli, I was hopeful, but I don’t know how to collapse the different steps into a single (or automateable) command.
- Identify which IDs were given to the monitors
pw-cli list-objects
- Destroy them?
pw-cli destroy 58; pw-cli destroy 60
I’ve also not found in which config file the automatic connection from monitors to OBS get made, so that could also possibly solve my problem.
Any tips?
Thanks in advance!