From 6669a93ae39ad83b8b3a222dd8210dfef8a7ed02 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Fri, 15 Apr 2022 00:36:47 +0200 Subject: [PATCH] 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. --- static/galene.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/galene.js b/static/galene.js index 95aea61..f9b0e3f 100644 --- a/static/galene.js +++ b/static/galene.js @@ -1223,7 +1223,7 @@ function setUpStream(c, stream) { }); } } else { - if(c.label !== 'camera' || settings.hqaudio) { + if(settings.hqaudio) { encodings.push({ maxBitrate: hqAudioRate, });