fix: recreate options when e2ee enabled changes (#432)

This commit is contained in:
lukasIO 2025-05-27 10:08:33 +02:00 committed by GitHub
parent 96b193098d
commit bfde08ea91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ export function VideoConferenceClientImpl(props: {
}
: undefined,
};
}, []);
}, [e2eeEnabled, props.codec]);
const room = useMemo(() => new Room(roomOptions), []);
if (e2eeEnabled) {