0
votes

I've read this in Twilio doc(https://www.twilio.com/docs/video/api/status-callbacks):

Twilio documentation

I'm using Twilio library to create rooms from a loopback backend. And I wonder if it's possible to change this number when I create the class? There is any option to do this and maybe reduce this waiting time and close the room after, for example, 1 minute?

1

1 Answers

0
votes

Twilio developer evangelist here.

There is no way to set the timeout for the room ended event like that, it is 5 minutes. You can see the supported parameters that you can use when creating a video room in the documentation.

If you wanted to close up the room manually once everyone has left it, you could watch the participant-disconnected status callbacks and then trigger an update to complete the room once you are happy that it is finally empty.