1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-27 01:35:48 +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 {
if(c.label !== 'camera' || settings.hqaudio) {
if(settings.hqaudio) {
encodings.push({
maxBitrate: hqAudioRate,
});