Throw away suspended player form a room

Hi, im a PUN user.

Photon's background thread keeps alive players though they has been suspended.
(Suspend occurs when pressing home button of Android devices)
But this behavior disturbs other players playing.
So i want to know how can i throw them away from a room in 30sec after suspended.
(i also want to give them a chance of recovery from suspend)

Comments

  • There is a new feature for that in PUN v1.62.
    We got a report that this doesn't call the "Disconnected" callback though. But at least, the client will disconnect if you turn this on.
    I will have a look into the callback for the next version.
  • Hi, Tobias
    Thank you for your replying.
    I have fixed this by calling "PhotonHandler.StopFallbackSendAckThread()" after 30sec of suspended.
    Anyway i will try new version.