mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-30 19:39:22 +00:00
Merge pull request #3859 from JakeTripplJ/screenshare-audio-filtering-removal
Remove unneeded filtering from screen share audio
This commit is contained in:
@@ -662,7 +662,15 @@ export const createLocalMembership$ = ({
|
|||||||
) {
|
) {
|
||||||
toggleScreenSharing = (): void => {
|
toggleScreenSharing = (): void => {
|
||||||
const screenshareSettings: ScreenShareCaptureOptions = {
|
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",
|
selfBrowserSurface: "include",
|
||||||
surfaceSwitching: "include",
|
surfaceSwitching: "include",
|
||||||
systemAudio: "include",
|
systemAudio: "include",
|
||||||
|
|||||||
Reference in New Issue
Block a user