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
Fix bug with starting recording multiple times.
Boris Grozev8146655a70d5
diff --git a/libs/colibri/colibri.focus.js b/libs/colibri/colibri.focus.jsindex 56708074b2..ed62d818eb 100644--- a/libs/colibri/colibri.focus.js+++ b/libs/colibri/colibri.focus.js@@ -172,7 +172,8 @@ ColibriFocus.prototype.makeConference = function (peers) {};// Sends a COLIBRI message which enables or disables (according to 'state') the-// recording on the bridge.+// recording on the bridge. Waits for the result IQ and calls 'callback' with+// the new recording state, according to the IQ.ColibriFocus.prototype.setRecording = function(state, token, callback) {var self = this;var elem = $iq({to: this.bridgejid, type: 'get'});@@ -187,10 +188,7 @@ ColibriFocus.prototype.setRecording = function(state, token, callback) {function (result) {console.log('Set recording "', state, '". Result:', result);var recordingElem = $(result).find('>conference>recording');- var newState = recordingElem.attr('state');- if (newState == null){- newState = false;- }+ var newState = ('true' === recordingElem.attr('state'));self.recordingEnabled = newState;callback(newState);