Do not handle the actual error message yet

pull/670/head
yanas 9 years ago
parent 7e4b13fb44
commit 07c2e91ae2
  1. 2
      conference.js
  2. 4
      modules/UI/UI.js
  3. 7
      modules/UI/recording/Recording.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) {

@ -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 () {

@ -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');

Loading…
Cancel
Save