mooz icon indicating copy to clipboard operation
mooz copied to clipboard

Does not connect with peer in some cases, resulting in expulsion of some peers in group video chat.

Open muzam1l opened this issue 3 years ago • 1 comments

While kicking someone out of group chat, if their connection with any peer disconnects is by design, in some cases connection does not get established, resulting in connection close event before connect event.

This app borrows this issue from simple-peer library, which in turn borrows that from WebRTC implementations itself.

Some hacks have to be developed to make this app stable, one solution I can think of is reconnecting again and again (up to threshold time) and hence preferring stability to room joining time.

muzam1l avatar Mar 06 '21 10:03 muzam1l

So it turns out none of the free TURN servers work and STUN is not consistent in connection. Using custom or service based TURN servers completely eliminates connection issues.

So I will keep this issue opened until there is some degree of reconnection attempts in the app to use TURN as little as possible.

muzam1l avatar Mar 08 '21 18:03 muzam1l