Skip to content

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

Add audio constraints

robertpine662433c2a16
diff --git a/react/features/recording/components/Recording/LocalRecordingManager.web.ts b/react/features/recording/components/Recording/LocalRecordingManager.web.ts
index 9556944d73..557ab60496 100644
--- a/react/features/recording/components/Recording/LocalRecordingManager.web.ts
+++ b/react/features/recording/components/Recording/LocalRecordingManager.web.ts
@@ -161,7 +161,12 @@ const LocalRecordingManager: ILocalRecordingManager = {
const gdmStream = await navigator.mediaDevices.getDisplayMedia({
// @ts-ignore
video: { displaySurface: 'browser', frameRate: { min: 30 } },
- audio: true
+ audio: {
+ autoGainControl: false,
+ channelCount: 2,
+ echoCancellation: false,
+ noiseSuppression: false
+ }
});
// @ts-ignore
const isBrowser = gdmStream.getVideoTracks()[0].getSettings().displaySurface === 'browser';