fix: recreate options when e2ee enabled changes (#432)
This commit is contained in:
parent
96b193098d
commit
bfde08ea91
@ -45,7 +45,7 @@ export function VideoConferenceClientImpl(props: {
|
|||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
};
|
};
|
||||||
}, []);
|
}, [e2eeEnabled, props.codec]);
|
||||||
|
|
||||||
const room = useMemo(() => new Room(roomOptions), []);
|
const room = useMemo(() => new Room(roomOptions), []);
|
||||||
if (e2eeEnabled) {
|
if (e2eeEnabled) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user