This plugin is used to make video calls using Jitsi video platform (https://meet.jit.si) on iOS and Android using Capacitor.
1.4.2: requires Capacitor 2.0+, Xcode 1.4.1+
1.3.12: requires Capacitor 2.0+, Xcode 1.3.1. See below section Upgrade to Capacitor 2.0 for instructions.
1.3.6: requires Capacitor 1.0+, Xcode 1.3.1
Follow the official Capacitor doc to upgrade to 2.0+.
For android deployment, ensure you follow step 6 in README.
The web plugin defaults to open a video call in the jitsi meet web interface. For full web implementation, we recommend using the Jitsi iFrame API (https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe)
-
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,
startWithAudioMuted: true, // start with audio muted
startWithVideoMuted: false // start with video muted
chatEnabled: false, // enable Chat feature
inviteEnabled: false // enable Invitation feature
});
window.addEventListener('onConferenceJoined', () => {
// do things here
});
window.addEventListener('onConferenceLeft', () => {
// do things here
});
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!