Connecting workers on different machines

Is it allowed to use pipeToRouter on to connect routers on two different machines ?

You can use a plain transport for that mediasoup :: API

You mean PipeTransport

Right, PipeTransport.

Yup, just reference how PipeToRouter works and replicate this through your signaling servers the steps required with PipeTransport.