1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-25 10:05:58 +01:00

Increase audio quality for presented files.

This commit is contained in:
Juliusz Chroboczek 2022-02-21 17:41:49 +01:00
parent cbcfbb3f74
commit aa30c34863

View file

@ -1168,6 +1168,12 @@ function setUpStream(c, stream) {
scaleResolutionDownBy: 2, scaleResolutionDownBy: 2,
maxBitrate: simulcastRate, maxBitrate: simulcastRate,
}); });
} else {
if(c.label === 'video') {
encodings.push({
maxBitrate: 192000,
});
}
} }
let tr = c.pc.addTransceiver(t, { let tr = c.pc.addTransceiver(t, {
direction: 'sendonly', direction: 'sendonly',