I'm using the REST API to create rooms. In the docs, it says a room will end when empty for 5 minutes. I would like to know what this means when trying to reuse the same room. Can participants rejoin that room again?
My use case is that users make request to join a room via a server endpoint. A check by UniqueName
is performed to see if this room exists. If it does not, it is then created using the UniqueName
.
There will certainly be cases where a room is created but is empty for more than 5 minutes, and I would like to re-use the same UniqueName
to join the room (empty, completed or otherwise). But it's not clear to me that this can be done once a room is completed.
E.g., if another user tries to join the completed room, will the logic from above still work, or will it break b/c the room is in completed
status can cannot be joined or re-created? My goal is to always have access to a room with the same UniqueName
.
Please advise, thanks.
Edit
I just had a thought to instead retrieve a list of rooms by UniqueName
, which would show me a room that has already been created, regardless of its status. However, I would still need to be able to use the same room if its status is completed
.
Can the status be updated from completed
to in-progress
?
Update
It would seem that the status cannot be updated from completed
to in-progress
. So, when a room is completed, how I can I continue to use the same UniqueName
for another room if one already exists with that unique name?