Yew-WebRTC-Chat icon indicating copy to clipboard operation
Yew-WebRTC-Chat copied to clipboard

Investigate connection issue

Open codec-abc opened this issue 5 years ago • 0 comments

Sometimes the connection can't be establish while it should even without TURN server

It might be due to some ISP blocking packets and being late to realizing it. One solution could be to recreate the same offer and answer and redoing ice connection. I need to make sure they are exactly the same otherwise without signaling the ports will change each time and the peers won't find a valid connection. That might not even be possible. I need to check this out.

Otherwise another solution could be to:

catch exceptions thrown by the send method and restarting the whole handshake from scratch. It seemed to be a pretty robust solution.

codec-abc avatar Jun 02 '20 13:06 codec-abc