Fix e2ee bugginess
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -110,7 +110,9 @@ export function ActiveCall(props: ActiveCallProps) {
|
||||
return null;
|
||||
}
|
||||
|
||||
livekitRoom.setE2EEEnabled(true);
|
||||
if (props.e2eeConfig && !livekitRoom.isE2EEEnabled) {
|
||||
livekitRoom.setE2EEEnabled(!!props.e2eeConfig);
|
||||
}
|
||||
|
||||
return (
|
||||
<RoomContext.Provider value={livekitRoom}>
|
||||
|
||||
Reference in New Issue
Block a user