From a84773640dc52904a97b4d999c95dc15a28e680f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Krafft?= Date: Mon, 17 Feb 2020 11:04:26 +0100 Subject: [PATCH] Improved doc --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bb220ece..8d36196b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ class VideoCall extends React.Component { componentDidMount() { setTimeout(() => { const url = self.props.navigation.getParam('url'); - JitsiMeet.call(url); + const userInfo = { displayName: 'User', email: 'user@example.com', avatar: 'https:/gravatar.com/avatar/abc123' }; + JitsiMeet.call(url, userInfo); /* You can also use JitsiMeet.audioCall(url) for audio only call */ /* You can programmatically end the call with JitsiMeet.endCall() */ }, 1000);