For Remote (summed up I hope):
- Your signal server tells media-server-1 to
let MyPipe = await Router.createPipeTransport({ “listenIp”: “123.123.123.123”, “enableRtx”: true}); - You reference this transport to a server ID to clear out later but as well connect.
- Send signal server back the IP/Port with Server ID for reference.
- Signal server sends this information over to media-server-2 to then check if it had already been created the transport, and if not do so now (repeating step 1).
- Finish the connection with
MyPipe.connect({ “ip”: Received.ip, “port”: Received.port });
Once their connected, it’s really about re-producing the broadcast on media-server-2 and allowing consumers to view the producer.