meet-demo: add auto deletion policy for rooms in API request
This commit is contained in:
parent
5a398982d4
commit
4bded9dc33
@ -36,6 +36,10 @@ app.post('/rooms', async (req, res) => {
|
|||||||
const room = await httpRequest('POST', 'rooms', {
|
const room = await httpRequest('POST', 'rooms', {
|
||||||
roomName,
|
roomName,
|
||||||
autoDeletionDate: Date.now() + 2 * 60 * 60 * 1000, // Room will be deleted after 2 hours
|
autoDeletionDate: Date.now() + 2 * 60 * 60 * 1000, // Room will be deleted after 2 hours
|
||||||
|
autoDeletionPolicy: {
|
||||||
|
withMeeting: 'force', // Force deletion of room even if meeting is ongoing
|
||||||
|
withRecordings: 'force' // Force deletion of room and its recordings
|
||||||
|
},
|
||||||
config: {
|
config: {
|
||||||
chat: {
|
chat: {
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user