fix(local-recording) don't use tab audio

We have observed that participant audio is distant and garbled, so we
added the tracks individually to the mixer.

In addition, using tab audio prevents us from using preferCurrentTab due
to: https://bugs.chromium.org/p/chromium/issues/detail?id=1317964 so
losing audio effects but having better participant audio quality (in
addition to better UX) is not a bad compromise.
This commit is contained in:
robertpin 2022-10-07 12:12:38 +03:00 committed by Saúl Ibarra Corretgé
parent 4857664f15
commit ebcd1d85f2
1 changed files with 2 additions and 6 deletions

View File

@ -228,12 +228,8 @@ const LocalRecordingManager: ILocalRecordingManager = {
// @ts-ignore // @ts-ignore
video: { displaySurface: 'browser', video: { displaySurface: 'browser',
frameRate: 30 }, frameRate: 30 },
audio: { audio: false,
autoGainControl: false, preferCurrentTab: true
channelCount: 2,
echoCancellation: false,
noiseSuppression: false
}
}); });
document.title = currentTitle; document.title = currentTitle;