1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35: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,
maxBitrate: simulcastRate,
});
} else {
if(c.label === 'video') {
encodings.push({
maxBitrate: 192000,
});
}
}
let tr = c.pc.addTransceiver(t, {
direction: 'sendonly',