How to rejoin a room

Hi.

I want to know how to rejoin a room where the client left the room due to a timeout.
If you have sample source please let me know.

I'm a beginner.

photon cloud+javascript sdk

Comments

  • Hi,

    You need to set 'rejoin' option to true in joinRoom call parameters.
    Usage sample can be found in demo-particle.
  • Hi.

    I am grateful for your support!

    The rejoin flag was set but it did not succeed.
    I will try from a simple test referring to the sample.