Disable automatic gain control on microphone

AGC really makes the soundqulity way worse than it could be.
Especially since it is so noticeable when entering a Jitsi where AGC is disabled (and suddenly some people sound much better).

In the long run, this should probably be configurable. On the other hand the setting changes the audio _going out_ from a user, so it might be hard for him to judge which settings are a good or a bad idea…
This commit is contained in:
TabascoEye 2021-01-30 02:13:03 +01:00 committed by Thomas Basler
parent 3840baa4fc
commit e3af68bed3

View File

@ -28,8 +28,8 @@ const videoConstraint: boolean|MediaTrackConstraints = {
resizeMode: 'crop-and-scale',
aspectRatio: 1.777777778
};
const audioConstraint: boolean|MediaTrackConstraints = {
//TODO: make these values configurable in the game settings menu and store them in localstorage
const audioConstraint: MediaTrackConstraints = {
// TODO: Make these values configurable in the game settings menu and store them in local storage
autoGainControl: false,
echoCancellation: true,
noiseSuppression: true