0

My use case involves creation of a peer-peer room using the Twilio Video REST API. I understand from the documentation that the room gets auto destroyed if no participant enters the room within 5mins of the room creation. This is becoming a bit difficult to manage as our use case doesn’t guarantee the participant entry time. Any workaround here?

  • Here is some documentation on that topic - https://www.twilio.com/docs/video/tutorials/understanding-video-rooms#creating-rooms – Alan Apr 13 '20 at 00:57
  • I had gone through the API documentation you mentioned. It states that there is a first join timeout of 5 minutes which basically means that a room shall be destroyed if no participant joins within 5 minutes of room creation. – arcane_coder Apr 13 '20 at 11:17
  • There are two options, REST API room creation and Ad-Hoc room creation. I am not aware of any way to extend the 5 minute room creation timer. – Alan Apr 13 '20 at 11:49

1 Answers1

1

Twilio developer evangelist here.

I would recommend creating the room at the same time that the first participant joins the room. That way you don't have to worry about it timing out.

Create the room and the access token at the same time and at the time you need it, not before.

philnash
  • 70,667
  • 10
  • 60
  • 88