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; width: 186px;
} }
:global(.card) { :global(.invite-others .card) {
border: 0!important; border: 0!important;
width: 40vw; width: 40vw;
} }
:global(.card input) { :global(.invite-others .card input) {
width: 15vw; width: 15vw;
} }
`}</style> `}</style>

View File

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

View File

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