diff --git a/web/app/assets/javascripts/react-components/PopupSessionRecording.js.jsx.coffee b/web/app/assets/javascripts/react-components/PopupSessionRecording.js.jsx.coffee index d747807c9..652367419 100644 --- a/web/app/assets/javascripts/react-components/PopupSessionRecording.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/PopupSessionRecording.js.jsx.coffee @@ -34,39 +34,39 @@ mixins.push(Reflux.listenTo(@AppStore,"onAppInit")) return this.setState(isRecording: recordingState.isRecording, recordedOnce: this.state.recordedOnce || recordingState.isRecording) - handleSettingSubmit: (settings) -> - volume = volume: @state.inputGroupMixers.mixer[0].volume_left - settings = $.extend({}, settings, volume) - try - localStorage.setItem("recordSettings", JSON.stringify(settings)) - catch e - logger.info("error while saving recordSettings to localStorage") - logger.log(e.stack) + # handleSettingSubmit: (settings) -> + # volume = volume: @state.inputGroupMixers.mixer[0].volume_left + # settings = $.extend({}, settings, volume) + # try + # localStorage.setItem("recordSettings", JSON.stringify(settings)) + # catch e + # logger.info("error while saving recordSettings to localStorage") + # logger.log(e.stack) - params = { - recordingType: settings.recordingType, - name: settings.recordingName, - audioFormat: settings.audioFormat, - includeChat: settings.includeChat, - volume: settings.volume, - } + # params = { + # recordingType: settings.recordingType, + # name: settings.recordingName, + # audioFormat: settings.audioFormat, + # includeChat: settings.includeChat, + # volume: settings.volume, + # } - if params.recordingType == context.JK.RECORD_TYPE_BOTH - params['videoFormat'] = settings.videoFormat - params['audioDelay'] = settings.audioDelay + # if params.recordingType == context.JK.RECORD_TYPE_BOTH + # params['videoFormat'] = settings.videoFormat + # params['audioDelay'] = settings.audioDelay - #TODO: check OBS has been installed - obsAvailable = true + # #TODO: check OBS has been installed + # obsAvailable = true - unless obsAvailable - context.JK.Banner.showAlert("To make a video recording in JamKazam, you must first install and configure OBS software. Click the link below for a help article that explains how to do this. View Help Article") - return + # unless obsAvailable + # context.JK.Banner.showAlert("To make a video recording in JamKazam, you must first install and configure OBS software. Click the link below for a help article that explains how to do this. View Help Article") + # return - unless context.JK.videoIsOngoing - context.JK.Banner.showAlert("To make a video recording in JamKazam you must have an ongoing video. You can start a video by clicking the Video button on session tool bar.") - return + # unless context.JK.videoIsOngoing + # context.JK.Banner.showAlert("To make a video recording in JamKazam you must have an ongoing video. You can start a video by clicking the Video button on session tool bar.") + # return - @startStopRecording(params) + # @startStopRecording(params) handleSettingSubmit: `async function(settings) { const volume = {volume: this.state.inputGroupMixers.mixer[0].volume_left};