Avatar

Employee

Regarding #2, with the latest SDK we added a new configuration parameter (in UserManager ?) to solve exactly your problem.

Basically you can specify that you only accept one connection from a specific user, and if a user with the same ID tries to connect twice (because of a reconnect or something) the first connection will be killed (at which point the second will use the correct user ID).

Please check the release notes and the documentation for this new feature.