Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Server disconnect timeout

$
0
0
Hello. I have android game with photon. Android games is not working in background (android specific)
When i hide(minimize) the game, after 10 seconds i have on server:

OnDisconnect - ConnID=52 reasonCode=ClientDisconnect
Connection state changed from Connected to Disconnected
OnDisconnect: conId=109.195.243.29, reason=ClientDisconnect, reasonDetail=
IUMobilePeer: User disconnected
Connection state changed from Disconnected to Disposed


On client (when i open the game (maximize)):

PhotonDebugReturn: Receiving failed. SocketException: WouldBlock
Status code:InternalReceiveException
Status code:Disconnect


How can i increase timeout?

Viewing all articles
Browse latest Browse all 1557

Trending Articles