Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Adds an I am a recorder parameter that allows for the UI to be cleaner and simpler for the recorders.

yanas7f7d9d5594a2
diff --git a/modules/UI/recording/Recording.js b/modules/UI/recording/Recording.js
index 386b9d6173..38e65504e0 100644
--- a/modules/UI/recording/Recording.js
+++ b/modules/UI/recording/Recording.js
@@ -18,10 +18,11 @@ import UIEvents from "../../../service/UI/UIEvents";
import UIUtil from '../util/UIUtil';
/**
- * Recording.
+ * Indicates if the recording button should be enabled.
+ *
+ * @returns {boolean} {true} if the
+ * @private
*/
-let recordingToaster = null;
-
function _isRecordingButtonEnabled() {
return interfaceConfig.TOOLBAR_BUTTONS.indexOf("recording") !== -1
&& config.enableRecording;
@@ -270,6 +271,10 @@ var Recording = {
},
updateRecordingState(recordingState) {
+ // I'm the recorder, so I don't want to see any UI related to states.
+ if (config.iAmRecorder)
+ return;
+
// If there's no state change, we ignore the update.
if (this.currentState === recordingState)
return;