Per upstream this function is not supposed to be called by users of PipeWire, and will crash when called twice. Instead only call it on recent versions of PipeWire where it is safe to call. This also removes the nearly empty pipewire-common files.
The capture ids are preserved, so that it's compatible with the previous code. No code changes were necessary whatsoever.
This plugin should contain different plugins importing and exporting multimedia streams via PipeWire.