G10dRafaFan
G10dRafaFan

Reputation: 1

Jitsi in react native - video conferencing

I want to use Jitsi-meet in react native for video conferencing what is the best method for implementation. Currently I am following this link https://jitsi.github.io/handbook/docs/intro But in this they have used native code for android and iOS Can someone please suggest me how should I proceed further.

Upvotes: 0

Views: 3294

Answers (1)

saperlipopette
saperlipopette

Reputation: 1693

The link you provided is the documentation of the jitsi native SDK. If you want to implement this SDK in a react-native project, you should have a look at react-native-jitsi-meet plugin.

As you can read in the documentation of the plugin, just install the plugin, and you will be able to initiate calls with your room url :

componentDidMount() {
    setTimeout(() => {
      const url = 'https://your.jitsi.server/roomName'; // can also be only room name and will connect to jitsi meet servers
      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);
  }

Upvotes: 0

Related Questions