Requesting target.exclusive for making target.object exclusive.
If an output stream has target.object and target.object doesn't exist, wireplumber automatically connects the stream to either the default sink or the next best sink.
In some cases, I don't want this behavior. I want my loopback streams to be connected only to target.object. If target.object doesn't exist, they shouldn't be connected to any other node.
For now, I assign the highest priority.session
to null-sink and null-source and assign target.object=default-sink or target.object=default-source to streams and let null-sink and null-source catch streams from which target.object disappears.
If streams for which target.exclusive=true are connected only to target.object and nothing else, then it would be easier to configure pipewire and wireplumber without null trick.