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:
parent
af462329ab
commit
6669a93ae3
1 changed files with 1 additions and 1 deletions
|
@ -1223,7 +1223,7 @@ function setUpStream(c, stream) {
|
|||
});
|
||||
}
|
||||
} else {
|
||||
if(c.label !== 'camera' || settings.hqaudio) {
|
||||
if(settings.hqaudio) {
|
||||
encodings.push({
|
||||
maxBitrate: hqAudioRate,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue