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:
+1
-1
@@ -1223,7 +1223,7 @@ function setUpStream(c, stream) {
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if(c.label !== 'camera' || settings.hqaudio) {
|
||||
if(settings.hqaudio) {
|
||||
encodings.push({
|
||||
maxBitrate: hqAudioRate,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user