Skip to content

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

Do not handle the actual error message yet

yanas07c2e91ae27f
diff --git a/conference.js b/conference.js
index 2e40c431ce..951ec2e795 100644
--- a/conference.js
+++ b/conference.js
@@ -1151,7 +1151,7 @@ export default {
room.on(ConferenceEvents.RECORDER_STATE_CHANGED, (status, error) => {
console.log("Received recorder status change: ", status, error);
- APP.UI.updateRecordingState(status, error);
+ APP.UI.updateRecordingState(status);
});
room.on(ConferenceEvents.USER_STATUS_CHANGED, function (id, status) {
diff --git a/modules/UI/UI.js b/modules/UI/UI.js
index c62afb2c63..612f407c8e 100644
--- a/modules/UI/UI.js
+++ b/modules/UI/UI.js
@@ -1006,8 +1006,8 @@ UI.requestFeedback = function () {
});
};
-UI.updateRecordingState = function (state, error) {
- Recording.updateRecordingState(state, error);
+UI.updateRecordingState = function (state) {
+ Recording.updateRecordingState(state);
};
UI.notifyTokenAuthFailed = function () {
diff --git a/modules/UI/recording/Recording.js b/modules/UI/recording/Recording.js
index 308eedd6cc..8929d1be78 100644
--- a/modules/UI/recording/Recording.js
+++ b/modules/UI/recording/Recording.js
@@ -348,7 +348,7 @@ var Recording = {
* Updates the recording state UI.
* @param recordingState gives us the current recording state
*/
- updateRecordingState(recordingState, error) {
+ updateRecordingState(recordingState) {
// I'm the recorder, so I don't want to see any UI related to states.
if (config.iAmRecorder)
return;
@@ -357,14 +357,14 @@ var Recording = {
if (!recordingState || this.currentState === recordingState)
return;
- this.updateRecordingUI(recordingState, error);
+ this.updateRecordingUI(recordingState);
},
/**
* Sets the state of the recording button.
* @param recordingState gives us the current recording state
*/
- updateRecordingUI (recordingState, error) {
+ updateRecordingUI (recordingState) {
let buttonSelector = $('#toolbar_button_record');
let oldState = this.currentState;
@@ -417,7 +417,6 @@ var Recording = {
buttonSelector.addClass(this.baseClass);
this._updateStatusLabel(this.recordingErrorKey, true);
- console.log("Recording failed for the following reason: ", error);
}
let labelSelector = $('#recordingLabel');