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
+6
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',