Skip to content

Commit

Permalink
removed auto enter PIP mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit committed Oct 12, 2023
1 parent 3a5e2de commit a2aa0ef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/react-native-room-kit/src/components/Meeting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ export const Meeting: React.FC<MeetingProps> = ({ peerTrackNodes }) => {
};
}, []);

React.useEffect(() => {
hmsInstance.setPipParams({ autoEnterPipMode: true });
// React.useEffect(() => {
// hmsInstance.setPipParams({ autoEnterPipMode: true });

return () => {
hmsInstance.setPipParams({ autoEnterPipMode: false });
};
}, []);
// return () => {
// hmsInstance.setPipParams({ autoEnterPipMode: false });
// };
// }, []);

const containerStyles = useHMSRoomStyle((theme) => ({
backgroundColor: theme.palette.background_dim,
Expand Down

0 comments on commit a2aa0ef

Please sign in to comment.