fix: recreate options when e2ee enabled changes

This commit is contained in:
lukasIO 2025-05-27 10:02:06 +02:00
parent 96b193098d
commit 7ba0348bf8

View File

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