mooz
mooz copied to clipboard
Does not connect with peer in some cases, resulting in expulsion of some peers in group video chat.
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.
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.