Hey, I am currently facing one problem regarding to handle reconnecting(internet on/off, switch internet from one to another) in mediasoup.
Solution One by default mediasoup tries to reconnect all participants in one room within 15 seconds but in this I am facing one problem sometime some users does sees one another some are seeing and some are not.
Solution two reconnect from re-ice but some said that this is not good solution it’s not recommended.
Solution three if transport is close and enter into failed state, remove the old transport and generate new one.
What you suggest is the best solution or another recommendation?
Assuming you mean that Internet is changed in client side (and not in mediasoup server side) then ICE restart in all transports as documented is the way to go regardless what “that some guy” says.
@ibc Now i am handling this feature from restartIce from client side if Internet is reconnect and transport state change is failed then restart it, it works fine but for consume transport i have to call all participants again from server and re-render again. with consumer transport restartIce method is not working.
My question is am i doing best practice as documentation?
Please no need to mention me in every message. If you can diagnose the problem by checking logs in iOS and compare them with the logs in browser, then please fill an issue in GitHub.