ITADN

`useSession` ignores `PreJoin`'s settings

#1320OpenKazimirPodolski 创建于 2026-03-25
K
KazimirPodolskicommented
### Describe the bug It looks like `useSession` miss usage of `usePersistentUserChoices` and so if a call is set up with `PreJoin`, the actual settings in the room are reset to some defaults. ### Reproduction ```tsx const Call = () => { const session = useSession(...); const showPreJoin = true; // ... joining logic ... return ( {showPreJoin && <PreJoin/>} {!showPreJoin && ( <SessionProvider session={session}> <VideoConference /> </SessionProvider> )} ); } ``` ### Logs ```shell ``` ### System Info ```shell Ubuntu 24.04, Chrome 145. ``` ### Severity annoyance ### Additional Information _No response_
0 条评论