capacitor-jitsi-meet 2.2.0-beta.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -1
- package/README.md +15 -10
- package/android/README.md +5 -1
- package/dist/esm/web.d.ts +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,26 @@ Each version of the capacitor plugin uses a specific Jitsi SDK version. In iOS d
|
|
|
4
4
|
|
|
5
5
|
See Jitsi-meet SDK [changelog](https://github.com/jitsi/jitsi-meet-release-notes/blob/master/CHANGELOG-MOBILE-SDKS.md)
|
|
6
6
|
|
|
7
|
-
# 2.2.0 (2022-
|
|
7
|
+
# 2.2.0 (2022-03-04)
|
|
8
8
|
|
|
9
|
+
## Breaking Changes
|
|
10
|
+
|
|
11
|
+
The newly introduced featureFlags param provides a lot of flexibility to the developers, as the developers can now directly control ALL featureFlags settings supported by the SDKs, and no longer need to map the plugin params to the SDK featureFlags params, as we have done before.
|
|
12
|
+
|
|
13
|
+
-with this increased flexibility, the following plugin params will be deprecated in our 3.0 version. Their default values will be reset to following the SDK default values in this current plugin release.
|
|
14
|
+
- callIntegrationEnabled (plugin default true -> SDK default true)
|
|
15
|
+
- liveStreamingEnabled (plugin default false -> 4.1.0 SDK default auto-detected)
|
|
16
|
+
- recordingEnabled (plugin default false -> 4.1.0 Android SDK true, 4.1.0 iOS SDK false)
|
|
17
|
+
- screenSharingEnabled (plugin default false -> 4.1.0 Android SDK true, 4.1.0 iOS SDK false)
|
|
18
|
+
|
|
19
|
+
Going forward, for a stable production build, my recommendation is to add the following featureFlags params in your syntax:
|
|
20
|
+
```
|
|
21
|
+
featureFlags: {
|
|
22
|
+
'recording.enabled': false, // disable as it requires Dropbox integration
|
|
23
|
+
'live-streaming.enabled': false, // 'Sign in with Google' button not yet functional
|
|
24
|
+
'android.screensharing.enabled': false // experimental feature, not fully production ready
|
|
25
|
+
},
|
|
26
|
+
```
|
|
9
27
|
- adds the subject, featureFlags, and configOverrides params
|
|
10
28
|
|
|
11
29
|
# 2.1.3 (2022-02-09)
|
package/README.md
CHANGED
|
@@ -72,7 +72,6 @@ import { Jitsi } from 'capacitor-jitsi-meet';
|
|
|
72
72
|
// On Capacitor 1 and 2
|
|
73
73
|
import { Plugins } from '@capacitor/core';
|
|
74
74
|
import 'capacitor-jitsi-meet';
|
|
75
|
-
|
|
76
75
|
const { Jitsi } = Plugins;
|
|
77
76
|
```
|
|
78
77
|
|
|
@@ -81,7 +80,14 @@ const result = await Jitsi.joinConference({
|
|
|
81
80
|
// required parameters
|
|
82
81
|
roomName: 'room1', // room identifier for the conference
|
|
83
82
|
url: 'https://meet.jit.si', // endpoint of the Jitsi Meet video bridge
|
|
84
|
-
|
|
83
|
+
|
|
84
|
+
// recommended settings for production build. see full list of featureFlags in the official Jitsi Meet SDK documentation
|
|
85
|
+
featureFlags: {
|
|
86
|
+
'recording.enabled': false, // disable as it requires Dropbox integration
|
|
87
|
+
'live-streaming.enabled': false, // 'sign in on Google' button not yet functional
|
|
88
|
+
'android.screensharing.enabled': false // experimental feature, not fully production ready
|
|
89
|
+
},
|
|
90
|
+
|
|
85
91
|
// optional parameters
|
|
86
92
|
subject: string, // name of the video room
|
|
87
93
|
displayName: string, // user's display name
|
|
@@ -92,16 +98,15 @@ const result = await Jitsi.joinConference({
|
|
|
92
98
|
chatEnabled: false, // enable Chat feature, default: true
|
|
93
99
|
inviteEnabled: false, // enable Invitation feature, default: true
|
|
94
100
|
|
|
95
|
-
// advanced
|
|
101
|
+
// advanced parameters (optional)
|
|
96
102
|
token: string, // jwt authentication token
|
|
97
|
-
featureFlags: { 'call-integration.enabled': true, 'live-streaming.enabled': false }, // see list of featureFlags in the official Jitsi Meet SDK documentation
|
|
98
103
|
configOverrides: { 'p2p.enabled': false }, // see list of config overrides in the official Jitsi Meet SDK documentation
|
|
99
104
|
|
|
100
105
|
// advanced settings to be deprecated in 3.0. Use featureFlags and configOverrides instead
|
|
101
|
-
callIntegrationEnabled: true, // enable call integration (CallKit on iOS, ConnectionService on Android)
|
|
102
|
-
liveStreamingEnabled: false, // enable live streaming feature
|
|
103
|
-
recordingEnabled: false, // (experimental) enable recording feature
|
|
104
|
-
screenSharingEnabled: false, // enable screen sharing feature
|
|
106
|
+
callIntegrationEnabled: true, // enable call integration (CallKit on iOS, ConnectionService on Android)
|
|
107
|
+
liveStreamingEnabled: false, // enable live streaming feature
|
|
108
|
+
recordingEnabled: false, // (experimental) enable recording feature
|
|
109
|
+
screenSharingEnabled: false, // (experimental) enable screen sharing feature
|
|
105
110
|
});
|
|
106
111
|
|
|
107
112
|
window.addEventListener('onConferenceJoined', () => {
|
|
@@ -129,9 +134,9 @@ This plugin uses the Jitsi Meet SDK. See the [Jitsi Meet SDK documentation](http
|
|
|
129
134
|
|
|
130
135
|
You can see a [React Demo App](https://github.com/calvinckho/react-capacitor-jitsi-meet-sample) which runs the Jitsi meeting on the Android device
|
|
131
136
|
|
|
132
|
-
## Feature Requests
|
|
137
|
+
## Feature Requests, Jitsi SDK UI Customizations, Picture-In-Picture Mode Implementation
|
|
133
138
|
|
|
134
|
-
|
|
139
|
+
For feature requests, create an issue with a label 'feature request'. I also offer paid consultation services, such as SDK UI customization, and helping you implement the [Picture-in-Picture mode of the video view](https://ds.ivr.solutions/media/pip_demo.mp4). To submit a request, create an issue and add the label 'sdk customization' or 'pip implementation'.
|
|
135
140
|
|
|
136
141
|
## Acknowledgements
|
|
137
142
|
|
package/android/README.md
CHANGED
|
@@ -101,7 +101,11 @@ See [Jitsi Meet Handbook](https://jitsi.github.io/handbook/docs/dev-guide/dev-gu
|
|
|
101
101
|
|
|
102
102
|
### Screen Sharing Integration
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
This is an experimental feature and some users experienced issues on Android. The recommendation is to disable it in production build until a working solution is found.
|
|
105
|
+
```
|
|
106
|
+
featureFlags: { 'android.screensharing.enabled': false }
|
|
107
|
+
```
|
|
108
|
+
Report your working solutions [here](https://github.com/calvinckho/capacitor-jitsi-meet/issues/35).
|
|
105
109
|
|
|
106
110
|
### Android SDK Developer Guide
|
|
107
111
|
|
package/dist/esm/web.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ export declare class JitsiWeb extends WebPlugin implements JitsiPlugin {
|
|
|
18
18
|
recordingEnabled?: boolean;
|
|
19
19
|
liveStreamingEnabled?: boolean;
|
|
20
20
|
screenSharingEnabled?: boolean;
|
|
21
|
-
featureFlags?:
|
|
22
|
-
configOverrides?:
|
|
21
|
+
featureFlags?: any;
|
|
22
|
+
configOverrides?: any;
|
|
23
23
|
}): Promise<{
|
|
24
24
|
roomName: string;
|
|
25
25
|
url: string;
|
|
@@ -37,8 +37,8 @@ export declare class JitsiWeb extends WebPlugin implements JitsiPlugin {
|
|
|
37
37
|
recordingEnabled?: boolean;
|
|
38
38
|
liveStreamingEnabled?: boolean;
|
|
39
39
|
screenSharingEnabled?: boolean;
|
|
40
|
-
featureFlags?:
|
|
41
|
-
configOverrides?:
|
|
40
|
+
featureFlags?: any;
|
|
41
|
+
configOverrides?: any;
|
|
42
42
|
}>;
|
|
43
43
|
leaveConference(options: {}): Promise<{}>;
|
|
44
44
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capacitor-jitsi-meet",
|
|
3
|
-
"version": "2.2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "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.",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|