cordova-plugin-jitsi-meet
v0.5.6
Published
jitsi meet sdk
Downloads
116
Maintainers
Readme
cordova-plugin-jitsi-meet
Cordova plugin for jitsi meet react native sdk
Supported Platforms
- iOS
- Android
Usage
declare const JitsiMeetPlugin:any;
@Component({
selector: '.......',
templateUrl: '.......',
styleUrls: ['.......']
})
export class ...
integration (Ionic)
let JitsiMeetConferenceOptions = {
url:'https://meet.jit.si/room_name',
Subject:'...',
token:'...',
roomName:'room_name',
userName:'user',
userImg:'https://exemple_Avatar.com',
pip: false,
chat: true,
invite: false,
calendar: false,
audioOnly: false,
AudioMuted: true,
VideoMuted: true,
callVoixEnable: false,
callUIVoixEnable: false,
callIntegrationEnable: true,
closeCaptionsEnable: true,
iosRecordingEnable: false,
liveStreamingEnable: false,
meetingNameEnable: true,
meetingPasswordEnable: false,
raiseHandEnable: false,
recordingEnable: false,
tileViewEnable: true,
toolboxEnable: false,
videoShareEnable: false,
conferenceTimeEnable: true
};
// JOIN THE MEETING
JitsiMeetPlugin.join(JitsiMeetConferenceOptions,(data) => {
let rep = JSON.parse(data);
//console rep => { data: "{url=....}",
//eventName: "onConferenceJoined/onConferenceWillJoin/onConferenceLeft" }
console.log("EventEmitter : ", rep.eventName);
}, (err) => {
console.log("Error : ", err);
});
// END THE CALL AND DESTROY THE PLUGIN
JitsiMeetPlugin.destroy(
data =>{
console.log('JitsiMeetPlugin.destroy', data);
}, err =>{
console.log('JitsiMeetPlugin.Err', err);
});
// BACK TO THE MAIN ACTIVITY
JitsiMeetPlugin.finish(
data =>{
console.log('JitsiMeetPlugin.finish', data);
}, err =>{
console.log('JitsiMeetPlugin.Err', err);
});
Supported Mobile Platform Versions
- Android >= 5
- iOS >= 10.0
Supported Cordova Versions
- cordova: >= 9
- cordova-android: >= 9
- cordova-ios: >= 6
NOTE
android
MinSdk :21
Support of Androidx from verion >= 0.3.4
Notification icon generator : ic_notification for ongoing Notification service
ios
Bitcode is not provided in the prebuilt SDK, so turn it off for your project.
The SDK uses Swift code, so make sure you select Always Embed Swift Standard Libraries in your project.
Since the SDK requests camera and microphone access, make sure to include the required entries for NSCameraUsageDescription and NSMicrophoneUsageDescription in your Info.plist file.
In order for app to properly work in the background, select the "audio" and "voip" background modes.
In Xcode add -fcxx-modules to Apple Clang - custom compiler Flags under Other C++ Flags
Last, since the SDK shows and hides the status bar based on the conference state, you may want to set UIViewControllerBasedStatusBarAppearance to NO in your Info.plist file.
Installation
ionic cordova plugin add cordova-plugin-jitsi-meet