Merge pull request #3859 from JakeTripplJ/screenshare-audio-filtering-removal

Remove unneeded filtering from screen share audio
This commit is contained in:
Jake Janicke
2026-04-17 04:10:12 -05:00
committed by GitHub
parent 565a5ab73f
commit 8eccb95fd3

View File

@@ -662,7 +662,15 @@ export const createLocalMembership$ = ({
) {
toggleScreenSharing = (): void => {
const screenshareSettings: ScreenShareCaptureOptions = {
audio: true,
// Screen share audio shouldn't have any filtering.
// "echoCancellation" is purposely excluded, as setting it to
// false causes the screen share audio track to include
// an echo of the incoming participant's voice
audio: {
autoGainControl: false,
noiseSuppression: false,
voiceIsolation: false,
},
selfBrowserSurface: "include",
surfaceSwitching: "include",
systemAudio: "include",