mirror of
https://github.com/jech/galene.git
synced 2024-11-25 18:15:57 +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:
parent
af462329ab
commit
6669a93ae3
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue