iOS device timeout vs. Android timout
Hi!
When I am in a room, and press the "Home" button on Android, and then wait, it takes 60 seconds before I get disconnected by Photon. (Wait > 60 seconds, then bring app back up)
On iOS, when I press the "Home" button and wait, it only takes 10 seconds before I get disconnected by Photon. (Wait > 10 seconds then bring app back up)
I was wondering why this isn't consistent between platforms, and what I need to do to make them the same. I *think* I would like 60 disconnects, but in either case, consistency is what I am looking for.
Here is what I have in code.
Global setting:
PhotonNetwork.KeepAliveInBackground = 1*60;
Room Setting:
roomOptions.PlayerTtl = 60;
Any help would be appreciated, thanks!
When I am in a room, and press the "Home" button on Android, and then wait, it takes 60 seconds before I get disconnected by Photon. (Wait > 60 seconds, then bring app back up)
On iOS, when I press the "Home" button and wait, it only takes 10 seconds before I get disconnected by Photon. (Wait > 10 seconds then bring app back up)
I was wondering why this isn't consistent between platforms, and what I need to do to make them the same. I *think* I would like 60 disconnects, but in either case, consistency is what I am looking for.
Here is what I have in code.
Global setting:
PhotonNetwork.KeepAliveInBackground = 1*60;
Room Setting:
roomOptions.PlayerTtl = 60;
Any help would be appreciated, thanks!
0
Comments
-
0