Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Initial commit

Andrei Gavrilescuc1d261445e85
diff --git a/conference.js b/conference.js
index f9c1e00eae..257a0d943f 100644
--- a/conference.js
+++ b/conference.js
@@ -120,6 +120,7 @@ import { suspendDetected } from './react/features/power-monitor';
import { setSharedVideoStatus } from './react/features/shared-video';
import { createPresenterEffect } from './react/features/stream-effects/presenter';
import { endpointMessageReceived } from './react/features/subtitles';
+import { createRnnoiseProcessorPromise } from './react/features/rnnoise';
const logger = require('jitsi-meet-logger').getLogger(__filename);
@@ -1267,6 +1268,7 @@ export default {
options.applicationName = interfaceConfig.APP_NAME;
options.getWiFiStatsMethod = this._getWiFiStatsMethod;
options.confID = `${locationURL.host}${locationURL.pathname}`;
+ options.vadProcessor = createRnnoiseProcessorPromise;
return options;
},
diff --git a/react/features/stream-effects/rnnoise/RnnoiseProcessor.js b/react/features/stream-effects/rnnoise/RnnoiseProcessor.js
index fe565ae85a..0f8becce4c 100644
--- a/react/features/stream-effects/rnnoise/RnnoiseProcessor.js
+++ b/react/features/stream-effects/rnnoise/RnnoiseProcessor.js
@@ -131,6 +131,15 @@ export default class RnnoiseProcessor {
}
}
+ /**
+ * Such comment very wow.
+ *
+ * @returns {number}
+ */
+ getSampleLength() {
+ return RNNOISE_SAMPLE_LENGTH;
+ }
+
/**
* Release any resources required by the rnnoise context this needs to be called
* before destroying any context that uses the processor.
diff --git a/webpack.config.js b/webpack.config.js
index 43d92e4083..f159685563 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -33,12 +33,14 @@ function getPerformanceHints(size) {
const config = {
devServer: {
https: true,
+ logLevel: 'debug',
inline: true,
proxy: {
'/': {
bypass: devServerProxyBypass,
secure: false,
- target: devServerProxyTarget
+ target: devServerProxyTarget,
+ logLevel: 'debug'
}
}
},
@@ -276,11 +278,13 @@ module.exports = [
* target, undefined; otherwise, the path to the local file to be served.
*/
function devServerProxyBypass({ path }) {
+ console.log('Fetching path: ', path);
if (path.startsWith('/css/') || path.startsWith('/doc/')
|| path.startsWith('/fonts/') || path.startsWith('/images/')
|| path.startsWith('/sounds/')
|| path.startsWith('/static/')
- || path.endsWith('.wasm')) {
+ || path.endsWith('.wasm')
+ || path.startsWith('/libs/lib-jitsi-meet')) {
return path;
}