Initial commit
This commit is contained in:
parent
c494d6c48b
commit
c1d261445e
|
@ -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;
|
||||
},
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue