internet connection availability

Options
Hello,
@Tobias , @vadim

when i started game than i have already internet available but in between my connection is lost so i want to give message to player so he /she can understand that due to lack of internet he/she has left the room or stuck in his/her app.

When i have displayer connection message it prints there "peer created" but it only check when it need i want that if user disconnects than direct notify that slow connection or you have lost internet connection. or if user connects with in some sort amount of time like 2 or 3 seconds and player should be joined previous game which he is playing if room is exists.

Help me to solve this how to reconnect player in real time game if user disconnects for 2 or 3 seconds.

Thank you.

Comments