Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Recognises calendar events with conference data.
damencho32798b1a80f2
diff --git a/react/features/google-api/googleApi.web.js b/react/features/google-api/googleApi.web.jsindex 6e6c5deb83..a05b90fba6 100644--- a/react/features/google-api/googleApi.web.js+++ b/react/features/google-api/googleApi.web.js@@ -227,10 +227,35 @@ const googleApi = {id: entry.id,location: entry.location,startDate: entry.start.dateTime,- title: entry.summary+ title: entry.summary,+ url: this._getConferenceDataVideoUri(entry.conferenceData)};},+ /**+ * Checks conference data for jitsi conference solution and returns+ * its video url.+ *+ * @param {Object} conferenceData - The conference data of the event.+ * @returns {string|undefined} Returns the found video uri or undefined.+ */+ _getConferenceDataVideoUri(conferenceData = {}) {+ try {+ // check conference data coming from calendar addons+ if (conferenceData.parameters.addOnParameters.parameters+ .conferenceSolutionType === 'jitsi') {+ const videoEntry = conferenceData.entryPoints.find(+ e => e.entryPointType === 'video');++ if (videoEntry) {+ return videoEntry.uri;+ }+ }+ } catch (error) {+ // we don't care about undefined fields+ }+ },+/*** Retrieves calendar entries from all available calendars.*