I have two nodes A and B, both running mediasoup server. I’m able to set up a pipe transport A->B and get streams across. However, if I kill the mediasoup server process on B, then A’s pipe transport never reports being closed. I have tried both, transport.on('connectionstatechange', cb)
and transport.observer.on('close', cb)
and neither event is triggered.
Is there a way to detect when a pipe transport breaks? Am I thinking about it all wrong?