This problem is intermittent, and that’s really annoying, so this ticket is more of a request for help in catching the issue.
I’ve been doing performance tesitng with low bandwidth connections it seems to work fine. But sometimes when there’s an internet unavailability the video and audio completely stop, and unless a total restart of the send and receive transports is done the transport does not recover on its own.
I am using mediasoup-client for sending and receiving audio and video streams, no data channels. This happens on all browsers, albeit its easier to encounter on mobiles.
What recovery mechanism is responsible for handling this. How do I ensure I have it in place correctly.
From my limited understanding of the concepts. I’ve added a listener to the state change event on both send and receive transports, and upon receiving a ‘disconnected’ state I do an ICE restart. That certainly does work much better than without it, but still there are times when the call cannot at all recover on its own and must require user input to restart the roomClient - Using mediasoup-demo as my base implementation, yes.