This Ionic Capacitor plugin is created to make video calls through the free, open-sourced Jitsi video platform (https://meet.jit.si) on iOS and Android.
See the plugin changelog for plugin versions that are compatible to your local Xcode.
Capacitor 3.0 is not supported yet. For more information you can check this issue.
Follow the official Capacitor doc to upgrade to 2.0+.
For android deployment, ensure you follow step 6 in README.
This plugin does not currently support web implementation. We recommend using the Jitsi iFrame API (https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe) for full web implementation.
-
npm install capacitor-jitsi-meet
-
use it as a Capacitor Plugin
import { Plugins } from '@capacitor/core';
import 'capacitor-jitsi-meet';
const { Jitsi } = Plugins;
const result = await Jitsi.joinConference({
roomName: 'room1', // room identifier for the conference
url: 'https://meet.jit.si' // endpoint of the Jitsi Meet video bridge,
token: string; // jwt authentication token
displayName: string; // user's display name
email: string; // user's email
avatarURL: string; // user's avatar url
channelLastN: string; // last N participants allowed to join
startWithAudioMuted: true, // start with audio muted
startWithVideoMuted: false // start with video muted
chatEnabled: false, // enable Chat feature
inviteEnabled: false // enable Invitation feature
callIntegrationEnabled: true // enable call integration (CallKit on iOS, ConnectionService on Android)
});
window.addEventListener('onConferenceJoined', () => {
// do things here
});
window.addEventListener('onConferenceLeft', () => {
// do things here
});
await Jitsi.leaveConference();
I appreciate those who use this plugin in their production apps and are funding this project as sponsors. Your sponsorship enables me to continue to maintain and roll out releases in a timely manner. Consider joining as a sponsor to get first-class support and consultation. For feature requests, create an issue with a label 'feature request'. I also offer paid consultation service to those needing to modify the Jitsi UI interface. To submit a request, create an issue and add the label 'sdk customization'.
This plugin uses the Jitsi Meet SDK. It was originally developed by then ESTOS' developer Philipp Hancke who then contributed it to the community where development continues with joint forces!