[mirotalk] - feat: make custom noise suppression configurable via .env
This commit is contained in:
+6
-1
@@ -1,5 +1,5 @@
|
||||
# ====================================================
|
||||
# MiroTalk P2P v.1.7.58 - Environment Configuration
|
||||
# MiroTalk P2P v.1.7.59 - Environment Configuration
|
||||
# ====================================================
|
||||
|
||||
# App environment
|
||||
@@ -126,6 +126,11 @@ IP_LOOKUP_ENABLED=false # true or false
|
||||
API_KEY_SECRET=mirotalkp2p_default_secret
|
||||
API_DISABLED='["token", "meetings"]'
|
||||
|
||||
# Custom Noise Suppression
|
||||
# Enable custom noise suppression using RNNoise. If disabled, the default WebRTC noise suppression will be used.
|
||||
|
||||
CUSTOM_NOISE_SUPPRESSION_ENABLED=true # true or false
|
||||
|
||||
# Survey URL
|
||||
# Using to redirect the client after close the call (feedbacks, website...)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* ==============================================
|
||||
* MiroTalk P2P v.1.7.58 - Configuration File
|
||||
* MiroTalk P2P v.1.7.59 - Configuration File
|
||||
* ==============================================
|
||||
*
|
||||
* This file is the central configuration source.
|
||||
@@ -435,7 +435,7 @@ module.exports = {
|
||||
showLockRoomBtn: true,
|
||||
showUnlockRoomBtn: true,
|
||||
showShortcutsBtn: true,
|
||||
customNoiseSuppression: true,
|
||||
customNoiseSuppression: getEnvBoolean(process.env.CUSTOM_NOISE_SUPPRESSION_ENABLED, true),
|
||||
},
|
||||
remote: {
|
||||
showAudioVolume: true,
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ dependencies: {
|
||||
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.58
|
||||
* @version 1.7.59
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.7.58",
|
||||
"version": "1.7.59",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mirotalk",
|
||||
"version": "1.7.58",
|
||||
"version": "1.7.59",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@mattermost/client": "11.4.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.7.58",
|
||||
"version": "1.7.59",
|
||||
"description": "A free WebRTC browser-based video call",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ let brand = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: 'WebRTC P2P v1.7.58',
|
||||
title: 'WebRTC P2P v1.7.59',
|
||||
html: `
|
||||
<button
|
||||
id="support-button"
|
||||
|
||||
+2
-2
@@ -15,7 +15,7 @@
|
||||
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.58
|
||||
* @version 1.7.59
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -13738,7 +13738,7 @@ function showAbout() {
|
||||
Swal.fire({
|
||||
background: swBg,
|
||||
position: 'center',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.7.58',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.7.59',
|
||||
imageUrl: brand.about?.imageUrl && brand.about.imageUrl.trim() !== '' ? brand.about.imageUrl : images.about,
|
||||
customClass: { image: 'img-about' },
|
||||
html: `
|
||||
|
||||
Reference in New Issue
Block a user