Skip to content

Commit

Permalink
Improved doc
Browse files Browse the repository at this point in the history
  • Loading branch information
skrafft committed Feb 17, 2020
1 parent 427873b commit a847736
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: '[email protected]', 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);
Expand Down

0 comments on commit a847736

Please sign in to comment.