|
@@ -348,7 +348,7 @@ var Recording = {
|
348
|
348
|
* Updates the recording state UI.
|
349
|
349
|
* @param recordingState gives us the current recording state
|
350
|
350
|
*/
|
351
|
|
- updateRecordingState(recordingState, error) {
|
|
351
|
+ updateRecordingState(recordingState) {
|
352
|
352
|
// I'm the recorder, so I don't want to see any UI related to states.
|
353
|
353
|
if (config.iAmRecorder)
|
354
|
354
|
return;
|
|
@@ -357,14 +357,14 @@ var Recording = {
|
357
|
357
|
if (!recordingState || this.currentState === recordingState)
|
358
|
358
|
return;
|
359
|
359
|
|
360
|
|
- this.updateRecordingUI(recordingState, error);
|
|
360
|
+ this.updateRecordingUI(recordingState);
|
361
|
361
|
},
|
362
|
362
|
|
363
|
363
|
/**
|
364
|
364
|
* Sets the state of the recording button.
|
365
|
365
|
* @param recordingState gives us the current recording state
|
366
|
366
|
*/
|
367
|
|
- updateRecordingUI (recordingState, error) {
|
|
367
|
+ updateRecordingUI (recordingState) {
|
368
|
368
|
let buttonSelector = $('#toolbar_button_record');
|
369
|
369
|
|
370
|
370
|
let oldState = this.currentState;
|
|
@@ -417,7 +417,6 @@ var Recording = {
|
417
|
417
|
buttonSelector.addClass(this.baseClass);
|
418
|
418
|
|
419
|
419
|
this._updateStatusLabel(this.recordingErrorKey, true);
|
420
|
|
- console.log("Recording failed for the following reason: ", error);
|
421
|
420
|
}
|
422
|
421
|
|
423
|
422
|
let labelSelector = $('#recordingLabel');
|