0

Is there a way to end a room once one of the participants leave?

I found a way to do it using the REST API: set a status callback and when the event is participant-disconnected, update the Room's status to completed.

But I'm wondering if there's a way to do it only with TWIML to be able to do it with my TWIML Bin to reduce complexity.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Hilikus
  • 9,954
  • 14
  • 65
  • 118

1 Answers1

3

Twilio Programmable Video Rooms do not utilize TwiML, with the exception of Programmable Voice users joining a Programmable Video room using the verb.

Your current approach using Room Status Call Backs sounds like an ideal approach, complete a room.

Alan
  • 10,465
  • 2
  • 8
  • 9