Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Rn jitsi sdk user info meeting options (#13630)

Fabrizio Corpora1b053b0ff23d
diff --git a/react-native-sdk/index.tsx b/react-native-sdk/index.tsx
index b5ea9614f9..a38b7bde4d 100644
--- a/react-native-sdk/index.tsx
+++ b/react-native-sdk/index.tsx
@@ -17,6 +17,12 @@ import { setAudioMuted, setVideoMuted } from './react/features/base/media/action
import JitsiThemePaperProvider from './react/features/base/ui/components/JitsiThemeProvider.native';
+interface IUserInfo {
+ email: string,
+ displayName: string;
+ avatarURL: string;
+}
+
interface IAppProps {
flags: object;
meetingOptions: {
@@ -31,7 +37,8 @@ interface IAppProps {
startWithAudioMuted?: boolean;
startAudioOnly?: boolean;
startWithVideoMuted?: boolean;
- }
+ },
+ userInfo: IUserInfo
};
style?: Object;
}
@@ -78,7 +85,10 @@ export const JitsiMeeting = forwardRef(({ flags, meetingOptions, style }: IAppPr
onConferenceLeft: meetingOptions.onConferenceLeft,
onParticipantJoined: meetingOptions.onParticipantJoined
},
- 'flags': { ...flags }
+ 'flags': { ...flags },
+ 'userInfo': {
+ ...meetingOptions.userInfo
+ }
});
}, []
);