From 0617b1ba8dc1eee2cb679c74b6b498787acab460 Mon Sep 17 00:00:00 2001 From: Nuwan Date: Wed, 4 Oct 2023 01:13:45 +0530 Subject: [PATCH] change in audio formats list for recording --- web/app/assets/javascripts/globals.js | 2 +- .../react-components/PopupSessionRecording.js.jsx.coffee | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/assets/javascripts/globals.js b/web/app/assets/javascripts/globals.js index db2b83d10..3038539f8 100644 --- a/web/app/assets/javascripts/globals.js +++ b/web/app/assets/javascripts/globals.js @@ -36,7 +36,7 @@ CHAT: "1" }; - context.JK.AUDIO_FORMATS = ['.mp3', '.vob', '.wav', '.flac', '.au']; + context.JK.AUDIO_FORMATS = ['.mp3', '.ogg', '.wav', '.flac', '.au']; context.JK.VIDEO_FORMATS = ['.mp4', '.mov', '.vob', '.wmv']; context.JK.RECORD_TYPE_AUDIO = 'audio-only' context.JK.RECORD_TYPE_BOTH = 'audio-video' 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 6fd51261c..fbb1bcab2 100644 --- a/web/app/assets/javascripts/react-components/PopupSessionRecording.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/PopupSessionRecording.js.jsx.coffee @@ -69,6 +69,7 @@ mixins.push(Reflux.listenTo(@AppStore,"onAppInit")) @startStopRecording(params) handleSettingSubmit: `async function(settings) { + console.log("_DEBUG_ recordSettings", settings) const volume = {volume: this.state.inputGroupMixers.mixer[0].volume_left}; settings = $.extend({}, settings, volume); try {