Set recording to local by default

This commit is contained in:
harshithpabbati 2022-01-17 20:45:55 +05:30
parent 7483ddf9fd
commit 3d907d0168
3 changed files with 4 additions and 4 deletions

View File

@ -64,12 +64,12 @@ export const InviteOthers = () => {
width: 186px;
}
:global(.card) {
:global(.invite-others .card) {
border: 0!important;
width: 40vw;
}
:global(.card input) {
:global(.invite-others .card input) {
width: 15vw;
}
`}</style>

View File

@ -18,7 +18,7 @@ export default async function handler(req, res) {
eject_at_room_exp: true,
enable_knocking: privacy !== 'public',
enable_screenshare: true,
enable_recording: true,
enable_recording: 'local',
...rest,
},
}),

View File

@ -93,7 +93,7 @@ export default function Index({
return;
}
setError(resJson?.error || 'An unknown error occured');
setError(resJson?.info || resJson?.error || 'An unknown error occured');
} else {
if (verifyingResJson.name) {
const editRes = await fetch(`/api/editRoom?roomName=${room}`, {