1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +01:00

Don't use high-quality audio for screenshare.

We used to set high-quality audio by default for screenshare,
but that makes the video blurry under bad network conditions.
Obey the hqaudio setting for all streams.
This commit is contained in:
Juliusz Chroboczek 2022-04-15 00:36:47 +02:00
parent af462329ab
commit 6669a93ae3

View file

@ -1223,7 +1223,7 @@ function setUpStream(c, stream) {
}); });
} }
} else { } else {
if(c.label !== 'camera' || settings.hqaudio) { if(settings.hqaudio) {
encodings.push({ encodings.push({
maxBitrate: hqAudioRate, maxBitrate: hqAudioRate,
}); });