1
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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