Empty room create for duplicate

0 votes

This is the situation that i want prevent:

 

Two users want join Room, but there aren't room's opened, and the two players create a room. 

¿How i can to prevent this situation?

asked Feb 25, 2017 in Android by David Escudero Sanch (10 points)

1 Answer

0 votes
Hi David,

Generally, this situation will not happpen. However, in rare scenarios, it will only happen in case of two users trying to join simultaneously and there is no room on server but the 3rd user will always get room to join.

To permanentaly avoid this situation, once this scenario happen, you can check for the rooms available with 1 user on server using our getRoom API. If there is room available to join then you can leave the current room and join that room.

Please let me know if you have any other queries.

Thanks.
answered Feb 28, 2017 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...