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.