Programmable Video | Dec. 15, 2021
New Configurable Video Room Timeout Parameters in REST API
Two new video room timeout parameters, empty_room_timeout and unused_room_timeout, have been added to the video rooms REST API to allow you to better manage the lifecycle of a video room.
The empty room timeout specifies how long a room will remain active after the last participant leaves, while the unused room timeout specifies how long a room will remain active if no one joins. Both values are set upon room creation and operate independently. The new maximum value for both parameters is 60 minutes and the default value remains five minutes.
These values are only configurable for rooms created with the REST API and can be applied to WebRTC Go, Peer-to-Peer, and Group Rooms. For rooms created via the Ad-hoc method, these values are zero by default and cannot be changed.
For more information on configuring room timeouts, view the Video Rooms REST API documentation.