Players disconnecting too frequently on mobile devices
Options
Hi, is there any way i can tweak the duration a player is deemed to have timed out from photon network such that they would not disconnect from the photon network that easily?
Currently, once the network signal is lost, the player gets disconnected from network straight away.
Currently, once the network signal is lost, the player gets disconnected from network straight away.
0
Comments
-
To keep current connection, you need to restore signal pretty quick, within ~ 5 seconds.
Otherwise you need to reconnect to server and join room again.
Server must disconnect clients not sending pings during several seconds or room may be filled with lost clients.0 -
May i know where is this value set? I would like to change it.0
-
This is a server-side value and can not be changed by the client. However, you can check some things to improve the connection stability from the client side (although there is not much to do when network signal is lost, of course):
http://doc.photonengine.com/en/realtime/current/reference/analyzing-disconnects
0 -
Could you point me where can i change it on the server? I got a photon server license0
-
You need to change MinimumTimeout parameter in Photon Server configuration: https://doc.photonengine.com/en/onpremise/current/reference/server-config-settings0