Rn jitsi sdk user info meeting options (#13630)

* add meetingOptions.userInfo
pull/13637/head jitsi-meet_8856
Fabrizio Corpora 1 year ago committed by GitHub
parent 6293b586f1
commit 1b053b0ff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      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
}
});
}, []
);

Loading…
Cancel
Save