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
Adds a disco feature to distinguish jibri participants.
damencho15fb8a152520
diff --git a/connection.js b/connection.jsindex 12a1beda6d..761ddd2a90 100644--- a/connection.js+++ b/connection.js@@ -15,6 +15,13 @@ import {const logger = require('jitsi-meet-logger').getLogger(__filename);+/**+ * The feature announced so we can distinguish jibri participants.+ *+ * @type {string}+ */+export const DISCO_JIBRI_FEATURE = 'http://jitsi.org/protocol/jibri';+/*** Checks if we have data to use attach instead of connect. If we have the data* executes attach otherwise check if we have to wait for the data. If we have@@ -91,6 +98,10 @@ function connect(id, password, roomName) {jwt && issuer && issuer !== 'anonymous' ? jwt : undefined,connectionConfig);+ if (config.iAmRecorder) {+ connection.addFeature(DISCO_JIBRI_FEATURE);+ }+return new Promise((resolve, reject) => {connection.addEventListener(JitsiConnectionEvents.CONNECTION_ESTABLISHED,