Enable recording and screenshare while creating a room

This commit is contained in:
harshithpabbati 2022-01-17 14:09:55 +05:30
parent f4564acca1
commit ef4f7157ba
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ export default async function handler(req, res) {
exp: Math.round(Date.now() / 1000) + (expiryMinutes || 5) * 60, // expire in x minutes
eject_at_room_exp: true,
enable_knocking: privacy !== 'public',
enable_screenshare: true,
enable_recording: true,
...rest,
},
}),