change in audio formats list for recording

This commit is contained in:
Nuwan 2023-10-04 01:13:45 +05:30
parent 001f59ba30
commit 0617b1ba8d
2 changed files with 2 additions and 1 deletions

View File

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

View File

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