Skip to content

Commit

Permalink
Deprecate showE2EE options on PreJoin
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Nov 7, 2023
1 parent 66df197 commit 3f27d8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/nextjs/pages/prejoin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const PreJoinExample: NextPage = () => {

return (
<div data-lk-theme="default" style={{ height: '100vh' }}>
<PreJoin showE2EEOptions={true} />
<PreJoin />
</div>
);
};
Expand Down
3 changes: 2 additions & 1 deletion packages/react/src/prefabs/PreJoin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { ParticipantPlaceholder } from '../assets/images';
import { useMediaDevices, usePersistentUserChoices } from '../hooks';

/**
* @deprecated Use `UserChoices` from `@livekit/components-core` instead.
* @deprecated Use `UserChoices` instead.
* @public
*/
export type LocalUserChoices = {
Expand Down Expand Up @@ -65,6 +65,7 @@ export interface PreJoinProps
micLabel?: string;
camLabel?: string;
userLabel?: string;
/** @deprecated E2EE options will be removed from PreJoin in a future version **/
showE2EEOptions?: boolean;

/**
Expand Down

0 comments on commit 3f27d8f

Please sign in to comment.